#51901E#51901E

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

Color values

HEX#51901E
RGBrgb(81, 144, 30)
HSLhsl(93, 66%, 34%)
HSVhsv(93, 79%, 56%)
CMYKcmyk(43.8%, 0%, 79.2%, 43.5%)
CIE-LABlab(53.80, -39.35, 50.11)
CIE-LCHlch(53.80, 63.71, 128.14°)
OKLaboklab(58.86% -0.1102 0.1113)
OKLCHoklch(58.86% 0.157 134.7)
XYZxyz(13.6007, 21.7888, 4.7171)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51901E #5D1E90
analogous
#8A901E #51901E #1E9024
triadic
#51901E #1E5190 #901E51
tetradic
#51901E #1E8A90 #5D1E90 #90241E
square
#51901E #1E8A90 #5D1E90 #90241E
split-complementary
#51901E #241E90 #901E8A
monochromatic
#182B09 #355D13 #51901E #6DC329 #8DDA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51901E#FFFFFF#000000##000000
##51901E1.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)
#8D7F2A
Tritanopia (blue-blind)
#508A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51901e;
/* rgb */ color: rgb(81, 144, 30);
/* oklch */ color: oklch(58.9% 0.157 134.7);
Tailwind
colors: {
  custom: {
    50: '#88b164',
    500: '#51901e',
    950: '#000000',
  },
}
SCSS
$custom: #51901e;
$custom-light: #88b164;
$custom-dark: #000000;
JSON
{
  "hex": "#51901e",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 93.158,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.15666,
    "h": 134.7
  },
  "luminance": 0.2179
}

Semantic roles & 50–950 ramp

primary
#51901E
secondary
#8B4DBD
accent
#3FE89D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51901E

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

Preview Lab → · Contrast checker → · Palette generator →

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