#51902F#51902F

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

Color values

HEX#51902F
RGBrgb(81, 144, 47)
HSLhsl(99, 51%, 37%)
HSVhsv(99, 67%, 56%)
CMYKcmyk(43.8%, 0%, 67.4%, 43.5%)
CIE-LABlab(53.92, -38.09, 43.67)
CIE-LCHlch(53.92, 57.95, 131.09°)
OKLaboklab(59% -0.1056 0.1003)
OKLCHoklch(59% 0.146 136.5)
XYZxyz(13.8793, 21.9003, 6.1846)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51902F #6E2F90
analogous
#81902F #51902F #2F903E
triadic
#51902F #2F5190 #902F51
tetradic
#51902F #2F8190 #6E2F90 #903E2F
square
#51902F #2F8190 #6E2F90 #903E2F
split-complementary
#51902F #3E2F90 #902F81
monochromatic
#1D3411 #376220 #51902F #6BBE3E #8ECF6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51902F#FFFFFF#000000##000000
##51902F1.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)
#958422
Deuteranopia (green-blind)
#8C7F37
Tritanopia (blue-blind)
#4E8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51902f;
/* rgb */ color: rgb(81, 144, 47);
/* oklch */ color: oklch(59.0% 0.146 136.5);
Tailwind
colors: {
  custom: {
    50: '#87b16c',
    500: '#51902f',
    950: '#000000',
  },
}
SCSS
$custom: #51902f;
$custom-light: #87b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#51902f",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 98.969,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.14563,
    "h": 136.5
  },
  "luminance": 0.21901
}

Semantic roles & 50–950 ramp

primary
#51902F
secondary
#9965B6
accent
#4EDAA9
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51902F

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

Preview Lab → · Contrast checker → · Palette generator →

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