#51901F#51901F

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

Color values

HEX#51901F
RGBrgb(81, 144, 31)
HSLhsl(93, 65%, 34%)
HSVhsv(93, 78%, 56%)
CMYKcmyk(43.8%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.81, -39.29, 49.78)
CIE-LCHlch(53.81, 63.42, 128.28°)
OKLaboklab(58.87% -0.11 0.1108)
OKLCHoklch(58.87% 0.156 134.8)
XYZxyz(13.6136, 21.7940, 4.7854)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51901F #5E1F90
analogous
#8A901F #51901F #1F9026
triadic
#51901F #1F5190 #901F51
tetradic
#51901F #1F8A90 #5E1F90 #90261F
square
#51901F #1F8A90 #5E1F90 #90261F
split-complementary
#51901F #261F90 #901F8A
monochromatic
#182B09 #355E14 #51901F #6DC22A #8DD950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51901F#FFFFFF#000000##000000
##51901F1.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)
#968402
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#508A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51901f;
/* rgb */ color: rgb(81, 144, 31);
/* oklch */ color: oklch(58.9% 0.156 134.8);
Tailwind
colors: {
  custom: {
    50: '#88b164',
    500: '#51901f',
    950: '#000000',
  },
}
SCSS
$custom: #51901f;
$custom-light: #88b164;
$custom-dark: #000000;
JSON
{
  "hex": "#51901f",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 93.451,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58867,
    "c": 0.15612,
    "h": 134.8
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#51901F
secondary
#8C4EBC
accent
#40E89E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51901F

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

Preview Lab → · Contrast checker → · Palette generator →

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