#51901B#51901B

#51901B is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 58.8% C 0.158 H 134.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#51901B
RGBrgb(81, 144, 27)
HSLhsl(92, 68%, 34%)
HSVhsv(92, 81%, 56%)
CMYKcmyk(43.8%, 0%, 81.3%, 43.5%)
CIE-LABlab(53.79, -39.51, 51.05)
CIE-LCHlch(53.79, 64.55, 127.74°)
OKLaboklab(58.84% -0.1109 0.1128)
OKLCHoklch(58.84% 0.158 134.5)
XYZxyz(13.5642, 21.7742, 4.5248)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51901B #5A1B90
analogous
#8B901B #51901B #1B9020
triadic
#51901B #1B5190 #901B51
tetradic
#51901B #1B8B90 #5A1B90 #90201B
square
#51901B #1B8B90 #5A1B90 #90201B
split-complementary
#51901B #201B90 #901B8B
monochromatic
#172908 #345C11 #51901B #6EC425 #8DDD49

Accessibility & contrast

On white

3.92
#51901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#51901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51901B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51901B#FFFFFF#000000##000000
##51901B1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#508A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51901b;
/* rgb */ color: rgb(81, 144, 27);
/* oklch */ color: oklch(58.8% 0.158 134.5);
Tailwind
colors: {
  custom: {
    50: '#88b162',
    500: '#51901b',
    950: '#000000',
  },
}
SCSS
$custom: #51901b;
$custom-light: #88b162;
$custom-dark: #000000;
JSON
{
  "hex": "#51901b",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 92.308,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.15818,
    "h": 134.5
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#51901B
secondary
#8848BF
accent
#3DEB9B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51901B

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

Preview Lab → · Contrast checker → · Palette generator →

#51901B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva