#51A01B#51A01B

#51A01B is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.1% C 0.178 H 136.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#51A01B
RGBrgb(81, 160, 27)
HSLhsl(96, 71%, 37%)
HSVhsv(96, 83%, 63%)
CMYKcmyk(49.4%, 0%, 83.1%, 37.3%)
CIE-LABlab(58.95, -46.04, 55.78)
CIE-LCHlch(58.95, 72.32, 129.54°)
OKLaboklab(63.08% -0.1284 0.1228)
OKLCHoklch(63.08% 0.178 136.3)
XYZxyz(16.1615, 26.9690, 5.3906)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A01B #6A1BA0
analogous
#94A01B #51A01B #1BA028
triadic
#51A01B #1B51A0 #A01B51
tetradic
#51A01B #1B94A0 #6A1BA0 #A0281B
square
#51A01B #1B94A0 #6A1BA0 #A0281B
split-complementary
#51A01B #281BA0 #A01B94
monochromatic
#1C3709 #366C12 #51A01B #6CD424 #8DE253

Accessibility & contrast

On white

3.28
#51A01B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#51A01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A01B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A01B#FFFFFF#000000##000000
##51A01B1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8B2C
Tritanopia (blue-blind)
#4D9A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #51a01b;
/* rgb */ color: rgb(81, 160, 27);
/* oklch */ color: oklch(63.1% 0.178 136.3);
Tailwind
colors: {
  custom: {
    50: '#8abd65',
    500: '#51a01b',
    950: '#000000',
  },
}
SCSS
$custom: #51a01b;
$custom-light: #8abd65;
$custom-dark: #000000;
JSON
{
  "hex": "#51a01b",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 95.639,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63082,
    "c": 0.17763,
    "h": 136.3
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

primary
#51A01B
secondary
#9652C5
accent
#3AEEA5
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A01B

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

Preview Lab → · Contrast checker → · Palette generator →

#51A01B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva