Skip to content

#526708

a deep, electric green · warm · closest name: Dark Olive Green

RGB
82, 103, 8
HSL
73°, 86%, 22%
CMYK
20, 0, 92, 60
Luminance
0.1151

At a glance

Every number on this page in one read: what #526708 is made of, how bright it looks, and which way it leans.

Hex
#526708
Hue
73°
green
Saturation
86%
electric
Lightness
22%
deep
Brightness
40%
HSV value
Perceived
36%
weighted brightness
Luminance
0.1151
WCAG relative
Temperature
Warm
36/100 cool
Color family
Green
Tone
Electric
Best ink
White
6.36:1
Closest name
Dark Olive Green
ΔE2000 5.6
Where it sits
Hue73° of 360°
Saturation86%
Lightness22%
Temperature
Warm ← → Cool36% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#526708
RGBrgb(82, 103, 8)
HSLhsl(73, 86%, 22%)
CMYKcmyk(20%, 0%, 92%, 60%)
LABlab(40.4 -20.8 44.4)
LCHlch(40.4 49.0 115.0)
OKLCHoklch(0.479 0.114 122.7)
Decimal5400328
Display P3color(display-p3 0.322 0.404 0.031)

Copy-ready code

/* CSS */
color: #526708;
background-color: #526708;
/* Tailwind (arbitrary) */
class="text-[#526708] bg-[#526708]"
/* SCSS */
$brand: #526708;
/* SwiftUI */
Color(red: 0.322, green: 0.404, blue: 0.031)
/* Android */
Color.parseColor("#526708")
/* Flutter */
Color(0xFF526708)
/* Python / OpenCV (BGR) */
(8, 103, 82)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #526708 · 6.36:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.36:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.30:1
AA fail · AA large pass · AAA fail
Reading the other direction: #526708 as text scores 6.36:1 on white and 3.30:1 on black.

Accessibility — WCAG contrast

Aa
#526708 on white: 6.36:1
AA ✓ pass · AA-large · AAA
Aa
#526708 on black: 3.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #6E6000
deuteranopia · #6B5F14
tritanopia · #576157

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #526708 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFDF2
#F5FAE5
#ECF7C5
#E2F797
#D3F363
#C4EF2F
#B5E312
#97BD0F
#78970C
#526708
#374408
Base = 900Lightest = 50 · #FAFDF2Darkest = 950 · #374408
:root {
  --brand-50: #FAFDF2;
  --brand-100: #F5FAE5;
  --brand-200: #ECF7C5;
  --brand-300: #E2F797;
  --brand-400: #D3F363;
  --brand-500: #C4EF2F;
  --brand-600: #B5E312;
  --brand-700: #97BD0F;
  --brand-800: #78970C;
  --brand-900: #526708;
  --brand-950: #374408;
  --brand: #526708;
  --brand-ink: #ffffff;
}

Colors that work with #526708

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9FAF4
Tinted page background
Border#E3EDC0
Hairlines and dividers
Muted text#899B4B
Captions on the surface
Accent#060969
Second voice, not a rival
Dark variant#5E7609
Hover, pressed, headers
Light variant#F8FDE7
Selected rows, tints
Dark surface#212414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #526708

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#1D0867
Analogous left#674D08
Analogous right#226708
Split-complement 1#082267
Split-complement 2#4D0867
Triadic 1#085267
Triadic 2#670852
Tetradic#08674D

RGB percentages

Red32.2%
Green40.4%
Blue3.1%

CMYK percentages

Cyan20.4%
Magenta0.0%
Yellow92.2%
Key (black)59.6%

Color previews

#526708 text on a black background

contrast 3.30:1

Card sample

#526708 text on a white background

contrast 6.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #526708;
Background color
Panel with #526708 background
background-color: #526708;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #526708;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(82, 103, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(82, 103, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #526708;
background: linear-gradient(135deg, #526708, #136708);

Monochromatic scale

Palettes built from #526708

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#526708 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#526708, answered

What color is #526708?

#526708 is a deep electric green, closest to Dark Olive Green (ΔE2000 5.6). It sits at 73° on the hue wheel with 86% saturation and 22% lightness, which reads as warm.

What is the RGB value of #526708?

rgb(82, 103, 8) — 82 red, 103 green and 8 blue out of 255, or 32.2% / 40.4% / 3.1% by channel.

Is #526708 a light or a dark color?

It is a dark color. Relative luminance is 0.1151 and perceived brightness is 36%, so white text on it reaches 6.36:1.

Should I use black or white text on #526708?

White. It scores 6.36:1 against #526708, versus 3.30:1 for black — AA at any size.

What is the complementary color of #526708?

#1D0867 sits directly opposite on the wheel. Softer options are the split-complements #082267 and #4D0867, which give the same contrast with far less vibration.

What colors go well with #526708?

For interface work: #F9FAF4 as the surface, #E3EDC0 for borders, #899B4B for secondary text, #060969 as an accent and #5E7609 for hover and pressed states. For a palette, the analogous pair #674D08 and #226708 stays calm, while #1D0867 is the loudest partner.

What is #526708 in CMYK for printing?

cmyk(20%, 0%, 92%, 60%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #526708 warm or cool?

Warm — it scores 36 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #675908; nudged cooler, #2F6807.

Work with #526708 in the Color Lab