#51902A#51902A

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

Color values

HEX#51902A
RGBrgb(81, 144, 42)
HSLhsl(97, 55%, 36%)
HSVhsv(97, 71%, 56%)
CMYKcmyk(43.8%, 0%, 70.8%, 43.5%)
CIE-LABlab(53.88, -38.51, 45.74)
CIE-LCHlch(53.88, 59.79, 130.10°)
OKLaboklab(58.95% -0.1071 0.104)
OKLCHoklch(58.95% 0.149 135.9)
XYZxyz(13.7842, 21.8622, 5.6836)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51902A #692A90
analogous
#84902A #51902A #2A9036
triadic
#51902A #2A5190 #902A51
tetradic
#51902A #2A8490 #692A90 #90362A
square
#51902A #2A8490 #692A90 #90362A
split-complementary
#51902A #362A90 #902A84
monochromatic
#1C310E #36611C #51902A #6CBF38 #8DD163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51902A#FFFFFF#000000##000000
##51902A1.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)
#95841A
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#4F8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51902a;
/* rgb */ color: rgb(81, 144, 42);
/* oklch */ color: oklch(59.0% 0.149 135.9);
Tailwind
colors: {
  custom: {
    50: '#87b16a',
    500: '#51902a',
    950: '#000000',
  },
}
SCSS
$custom: #51902a;
$custom-light: #87b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#51902a",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 97.059,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5895,
    "c": 0.14928,
    "h": 135.9
  },
  "luminance": 0.21863
}

Semantic roles & 50–950 ramp

primary
#51902A
secondary
#955EB7
accent
#4ADEA5
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51902A

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

Preview Lab → · Contrast checker → · Palette generator →

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