#51901D#51901D

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

Color values

HEX#51901D
RGBrgb(81, 144, 29)
HSLhsl(93, 66%, 34%)
HSVhsv(93, 80%, 56%)
CMYKcmyk(43.8%, 0%, 79.9%, 43.5%)
CIE-LABlab(53.80, -39.41, 50.43)
CIE-LCHlch(53.80, 64.00, 128.01°)
OKLaboklab(58.86% -0.1104 0.1118)
OKLCHoklch(58.86% 0.157 134.6)
XYZxyz(13.5881, 21.7838, 4.6509)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51901D #5C1D90
analogous
#8B901D #51901D #1D9023
triadic
#51901D #1D5190 #901D51
tetradic
#51901D #1D8B90 #5C1D90 #90231D
square
#51901D #1D8B90 #5C1D90 #90231D
split-complementary
#51901D #231D90 #901D8B
monochromatic
#182A08 #345D13 #51901D #6EC327 #8DDB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51901D#FFFFFF#000000##000000
##51901D1.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: #51901d;
/* rgb */ color: rgb(81, 144, 29);
/* oklch */ color: oklch(58.9% 0.157 134.6);
Tailwind
colors: {
  custom: {
    50: '#88b163',
    500: '#51901d',
    950: '#000000',
  },
}
SCSS
$custom: #51901d;
$custom-light: #88b163;
$custom-dark: #000000;
JSON
{
  "hex": "#51901d",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 92.87,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.15719,
    "h": 134.6
  },
  "luminance": 0.21785
}

Semantic roles & 50–950 ramp

primary
#51901D
secondary
#8A4BBD
accent
#3EE99C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51901D

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

Preview Lab → · Contrast checker → · Palette generator →

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