#51991D#51991D

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

Color values

HEX#51991D
RGBrgb(81, 153, 29)
HSLhsl(95, 68%, 36%)
HSVhsv(95, 81%, 60%)
CMYKcmyk(47.1%, 0%, 81%, 40%)
CIE-LABlab(56.70, -43.14, 53.15)
CIE-LCHlch(56.70, 68.45, 129.07°)
OKLaboklab(61.24% -0.1205 0.1175)
OKLCHoklch(61.24% 0.168 135.7)
XYZxyz(15.0060, 24.6196, 5.1235)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51991D #651D99
analogous
#8F991D #51991D #1D9927
triadic
#51991D #1D5199 #991D51
tetradic
#51991D #1D8F99 #651D99 #99271D
square
#51991D #1D8F99 #651D99 #99271D
split-complementary
#51991D #271D99 #991D8F
monochromatic
#1B3209 #366613 #51991D #6CCC27 #8DDE52

Accessibility & contrast

On white

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

On black

5.92
#51991D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51991D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51991D#FFFFFF#000000##000000
##51991D1.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51991d;
/* rgb */ color: rgb(81, 153, 29);
/* oklch */ color: oklch(61.2% 0.168 135.7);
Tailwind
colors: {
  custom: {
    50: '#89b764',
    500: '#51991d',
    950: '#000000',
  },
}
SCSS
$custom: #51991d;
$custom-light: #89b764;
$custom-dark: #000000;
JSON
{
  "hex": "#51991d",
  "rgb": {
    "r": 81,
    "g": 153,
    "b": 29
  },
  "hsl": {
    "h": 94.839,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6124,
    "c": 0.16832,
    "h": 135.7
  },
  "luminance": 0.24621
}

Semantic roles & 50–950 ramp

primary
#51991D
secondary
#9251C1
accent
#3DEBA2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51991D

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

Preview Lab → · Contrast checker → · Palette generator →

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