#51901C#51901C

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

Color values

HEX#51901C
RGBrgb(81, 144, 28)
HSLhsl(93, 67%, 34%)
HSVhsv(93, 81%, 56%)
CMYKcmyk(43.8%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.79, -39.46, 50.74)
CIE-LCHlch(53.79, 64.28, 127.87°)
OKLaboklab(58.85% -0.1107 0.1123)
OKLCHoklch(58.85% 0.158 134.6)
XYZxyz(13.5759, 21.7789, 4.5868)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51901C #5B1C90
analogous
#8B901C #51901C #1C9021
triadic
#51901C #1C5190 #901C51
tetradic
#51901C #1C8B90 #5B1C90 #90211C
square
#51901C #1C8B90 #5B1C90 #90211C
split-complementary
#51901C #211C90 #901C8B
monochromatic
#172A08 #345D12 #51901C #6EC326 #8DDC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #51901c;
/* rgb */ color: rgb(81, 144, 28);
/* oklch */ color: oklch(58.8% 0.158 134.6);
Tailwind
colors: {
  custom: {
    50: '#88b163',
    500: '#51901c',
    950: '#000000',
  },
}
SCSS
$custom: #51901c;
$custom-light: #88b163;
$custom-dark: #000000;
JSON
{
  "hex": "#51901c",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 92.586,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.15769,
    "h": 134.6
  },
  "luminance": 0.2178
}

Semantic roles & 50–950 ramp

primary
#51901C
secondary
#894ABE
accent
#3DEA9B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51901C

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

Preview Lab → · Contrast checker → · Palette generator →

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