#51991E#51991E

#51991E is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.2% C 0.168 H 135.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#51991E
RGBrgb(81, 153, 30)
HSLhsl(95, 67%, 36%)
HSVhsv(95, 80%, 60%)
CMYKcmyk(47.1%, 0%, 80.4%, 40%)
CIE-LABlab(56.71, -43.08, 52.84)
CIE-LCHlch(56.71, 68.18, 129.19°)
OKLaboklab(61.25% -0.1203 0.1171)
OKLCHoklch(61.25% 0.168 135.8)
XYZxyz(15.0185, 24.6246, 5.1897)
Luminance0.2463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51991E #661E99
analogous
#8E991E #51991E #1E9928
triadic
#51991E #1E5199 #991E51
tetradic
#51991E #1E8E99 #661E99 #99281E
square
#51991E #1E8E99 #661E99 #99281E
split-complementary
#51991E #281E99 #991E8E
monochromatic
#1B330A #366614 #51991E #6CCC28 #8DDD54

Accessibility & contrast

On white

3.54
#51991E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#51991E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51991E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51991E#FFFFFF#000000##000000
##51991E1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#4E9382
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #51991e;
/* rgb */ color: rgb(81, 153, 30);
/* oklch */ color: oklch(61.2% 0.168 135.8);
Tailwind
colors: {
  custom: {
    50: '#89b765',
    500: '#51991e',
    950: '#000000',
  },
}
SCSS
$custom: #51991e;
$custom-light: #89b765;
$custom-dark: #000000;
JSON
{
  "hex": "#51991e",
  "rgb": {
    "r": 81,
    "g": 153,
    "b": 30
  },
  "hsl": {
    "h": 95.122,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.16783,
    "h": 135.8
  },
  "luminance": 0.24626
}

Semantic roles & 50–950 ramp

primary
#51991E
secondary
#9352C1
accent
#3EEAA3
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51991E

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

Preview Lab → · Contrast checker → · Palette generator →

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