#52881B#52881B

#52881B is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.8% C 0.148 H 133.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#52881B
RGBrgb(82, 136, 27)
HSLhsl(90, 67%, 32%)
HSVhsv(90, 80%, 53%)
CMYKcmyk(39.7%, 0%, 80.1%, 46.7%)
CIE-LABlab(51.24, -35.70, 48.69)
CIE-LCHlch(51.24, 60.38, 126.25°)
OKLaboklab(56.78% -0.1007 0.1079)
OKLCHoklch(56.78% 0.148 133)
XYZxyz(12.4815, 19.4807, 4.1392)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52881B #511B88
analogous
#88881B #52881B #1B881B
triadic
#52881B #1B5288 #881B52
tetradic
#52881B #1B8888 #511B88 #881B1B
square
#52881B #1B8888 #511B88 #881B1B
split-complementary
#52881B #1B1B88 #881B88
monochromatic
#142207 #335511 #52881B #71BB25 #8FDA44

Accessibility & contrast

On white

4.29
#52881B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#52881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52881B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52881B#FFFFFF#000000##000000
##52881B1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#528274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52881b;
/* rgb */ color: rgb(82, 136, 27);
/* oklch */ color: oklch(56.8% 0.148 133.0);
Tailwind
colors: {
  custom: {
    50: '#88ab61',
    500: '#52881b',
    950: '#000000',
  },
}
SCSS
$custom: #52881b;
$custom-light: #88ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#52881b",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 89.725,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.14755,
    "h": 133
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#52881B
secondary
#7F44BB
accent
#3EEA93
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52881B

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

Preview Lab → · Contrast checker → · Palette generator →

#52881B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva