#526720#526720

#526720 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.100 H 124.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#526720
RGBrgb(82, 103, 32)
HSLhsl(78, 53%, 26%)
HSVhsv(78, 69%, 40%)
CMYKcmyk(20.4%, 0%, 68.9%, 59.6%)
CIE-LABlab(40.57, -19.45, 36.12)
CIE-LCHlch(40.57, 41.03, 118.30°)
OKLaboklab(48.1% -0.0559 0.0823)
OKLCHoklch(48.1% 0.1 124.2)
XYZxyz(8.5907, 11.5985, 3.1524)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526720 #352067
analogous
#675920 #526720 #2F6720
triadic
#526720 #205267 #672052
tetradic
#526720 #206759 #352067 #67202F
square
#526720 #206759 #352067 #67202F
split-complementary
#526720 #202F67 #592067
monochromatic
#131707 #2D3811 #526720 #77962F #9CC33E

Accessibility & contrast

On white

6.33
#526720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#526720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526720
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526720#FFFFFF#000000##FFFFFF
##5267201.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6017
Deuteranopia (green-blind)
#6A5F25
Tritanopia (blue-blind)
#566258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #526720;
/* rgb */ color: rgb(82, 103, 32);
/* oklch */ color: oklch(48.1% 0.100 124.2);
Tailwind
colors: {
  custom: {
    50: '#85925f',
    500: '#526720',
    950: '#000000',
  },
}
SCSS
$custom: #526720;
$custom-light: #85925f;
$custom-dark: #000000;
JSON
{
  "hex": "#526720",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 77.746,
    "s": 52.593,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48103,
    "c": 0.09952,
    "h": 124.2
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#526720
secondary
#60489B
accent
#4CDC76
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D05
muted
#7C7D79

Preview Lab

Preview with #526720

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#526720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva