#51902C#51902C

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

Color values

HEX#51902C
RGBrgb(81, 144, 44)
HSLhsl(98, 53%, 37%)
HSVhsv(98, 69%, 56%)
CMYKcmyk(43.8%, 0%, 69.4%, 43.5%)
CIE-LABlab(53.90, -38.35, 44.93)
CIE-LCHlch(53.90, 59.07, 130.48°)
OKLaboklab(58.97% -0.1065 0.1025)
OKLCHoklch(58.97% 0.148 136.1)
XYZxyz(13.8209, 21.8769, 5.8768)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51902C #6B2C90
analogous
#83902C #51902C #2C9039
triadic
#51902C #2C5190 #902C51
tetradic
#51902C #2C8390 #6B2C90 #90392C
square
#51902C #2C8390 #6B2C90 #90392C
split-complementary
#51902C #392C90 #902C83
monochromatic
#1C320F #37611E #51902C #6BBF3A #8DD066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51902C#FFFFFF#000000##000000
##51902C1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51902c;
/* rgb */ color: rgb(81, 144, 44);
/* oklch */ color: oklch(59.0% 0.148 136.1);
Tailwind
colors: {
  custom: {
    50: '#87b16b',
    500: '#51902c',
    950: '#000000',
  },
}
SCSS
$custom: #51902c;
$custom-light: #87b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#51902c",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 97.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.14785,
    "h": 136.1
  },
  "luminance": 0.21878
}

Semantic roles & 50–950 ramp

primary
#51902C
secondary
#9761B7
accent
#4BDDA7
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51902C

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

Preview Lab → · Contrast checker → · Palette generator →

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