#526D20#526D20

#526D20 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.7% C 0.108 H 126.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#526D20
RGBrgb(82, 109, 32)
HSLhsl(81, 55%, 28%)
HSVhsv(81, 71%, 43%)
CMYKcmyk(24.8%, 0%, 70.6%, 57.3%)
CIE-LABlab(42.51, -22.57, 38.16)
CIE-LCHlch(42.51, 44.34, 120.60°)
OKLaboklab(49.68% -0.0645 0.0866)
OKLCHoklch(49.68% 0.108 126.7)
XYZxyz(9.2090, 12.8352, 3.3585)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#526D20 #3B206D
analogous
#6D6120 #526D20 #2B6D20
triadic
#526D20 #20526D #6D2052
tetradic
#526D20 #206D61 #3B206D #6D202B
square
#526D20 #206D61 #3B206D #6D202B
split-complementary
#526D20 #202B6D #61206D
monochromatic
#121807 #2E3E12 #526D20 #769C2E #98C740

Accessibility & contrast

On white

5.89
#526D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#526D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #526D20
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##526D20#FFFFFF#000000##FFFFFF
##526D201.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736515
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#55685D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #526d20;
/* rgb */ color: rgb(82, 109, 32);
/* oklch */ color: oklch(49.7% 0.108 126.7);
Tailwind
colors: {
  custom: {
    50: '#859760',
    500: '#526d20',
    950: '#000000',
  },
}
SCSS
$custom: #526d20;
$custom-light: #859760;
$custom-dark: #000000;
JSON
{
  "hex": "#526d20",
  "rgb": {
    "r": 82,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 81.039,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.108,
    "h": 126.7
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#526D20
secondary
#6748A1
accent
#4ADE7E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #526D20

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

Preview Lab → · Contrast checker → · Palette generator →

#526D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva