#51902E#51902E

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

Color values

HEX#51902E
RGBrgb(81, 144, 46)
HSLhsl(99, 52%, 37%)
HSVhsv(99, 68%, 56%)
CMYKcmyk(43.8%, 0%, 68.1%, 43.5%)
CIE-LABlab(53.91, -38.18, 44.10)
CIE-LCHlch(53.91, 58.33, 130.88°)
OKLaboklab(58.99% -0.1059 0.1011)
OKLCHoklch(58.99% 0.146 136.3)
XYZxyz(13.8594, 21.8923, 6.0796)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51902E #6D2E90
analogous
#82902E #51902E #2E903C
triadic
#51902E #2E5190 #902E51
tetradic
#51902E #2E8290 #6D2E90 #903C2E
square
#51902E #2E8290 #6D2E90 #903C2E
split-complementary
#51902E #3C2E90 #902E82
monochromatic
#1D3310 #37621F #51902E #6BBE3D #8ECF69

Accessibility & contrast

On white

3.90
#51902E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#51902E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51902E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51902E#FFFFFF#000000##000000
##51902E1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958421
Deuteranopia (green-blind)
#8C7F36
Tritanopia (blue-blind)
#4E8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51902e;
/* rgb */ color: rgb(81, 144, 46);
/* oklch */ color: oklch(59.0% 0.146 136.3);
Tailwind
colors: {
  custom: {
    50: '#87b16c',
    500: '#51902e',
    950: '#000000',
  },
}
SCSS
$custom: #51902e;
$custom-light: #87b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#51902e",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 98.571,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58987,
    "c": 0.14638,
    "h": 136.3
  },
  "luminance": 0.21893
}

Semantic roles & 50–950 ramp

primary
#51902E
secondary
#9964B6
accent
#4DDBA8
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51902E

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

Preview Lab → · Contrast checker → · Palette generator →

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