#51902B#51902B

#51902B is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.0% C 0.149 H 136.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#51902B
RGBrgb(81, 144, 43)
HSLhsl(97, 54%, 37%)
HSVhsv(97, 70%, 56%)
CMYKcmyk(43.8%, 0%, 70.1%, 43.5%)
CIE-LABlab(53.89, -38.43, 45.34)
CIE-LCHlch(53.89, 59.43, 130.29°)
OKLaboklab(58.96% -0.1068 0.1033)
OKLCHoklch(58.96% 0.149 136)
XYZxyz(13.8023, 21.8695, 5.7790)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51902B #6A2B90
analogous
#84902B #51902B #2B9038
triadic
#51902B #2B5190 #902B51
tetradic
#51902B #2B8490 #6A2B90 #90382B
square
#51902B #2B8490 #6A2B90 #90382B
split-complementary
#51902B #382B90 #902B84
monochromatic
#1C320F #36611D #51902B #6CBF39 #8DD165

Accessibility & contrast

On white

3.91
#51902B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#51902B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51902B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51902B#FFFFFF#000000##000000
##51902B1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841C
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#4F8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51902b;
/* rgb */ color: rgb(81, 144, 43);
/* oklch */ color: oklch(59.0% 0.149 136.0);
Tailwind
colors: {
  custom: {
    50: '#87b16a',
    500: '#51902b',
    950: '#000000',
  },
}
SCSS
$custom: #51902b;
$custom-light: #87b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#51902b",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 97.426,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.14857,
    "h": 136
  },
  "luminance": 0.2187
}

Semantic roles & 50–950 ramp

primary
#51902B
secondary
#9660B7
accent
#4ADDA6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51902B

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

Preview Lab → · Contrast checker → · Palette generator →

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