#51A01F#51A01F

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

Color values

HEX#51A01F
RGBrgb(81, 160, 31)
HSLhsl(97, 68%, 37%)
HSVhsv(97, 81%, 63%)
CMYKcmyk(49.4%, 0%, 80.6%, 37.3%)
CIE-LABlab(58.96, -45.84, 54.65)
CIE-LCHlch(58.96, 71.32, 129.99°)
OKLaboklab(63.1% -0.1276 0.121)
OKLCHoklch(63.1% 0.176 136.5)
XYZxyz(16.2110, 26.9888, 5.6512)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A01F #6E1FA0
analogous
#92A01F #51A01F #1FA02D
triadic
#51A01F #1F51A0 #A01F51
tetradic
#51A01F #1F92A0 #6E1FA0 #A02D1F
square
#51A01F #1F92A0 #6E1FA0 #A02D1F
split-complementary
#51A01F #2D1FA0 #A01F92
monochromatic
#1D390B #376D15 #51A01F #6BD329 #8EDF5A

Accessibility & contrast

On white

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

On black

6.40
#51A01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A01F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A01F#FFFFFF#000000##000000
##51A01F1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a01f;
/* rgb */ color: rgb(81, 160, 31);
/* oklch */ color: oklch(63.1% 0.176 136.5);
Tailwind
colors: {
  custom: {
    50: '#8abd66',
    500: '#51a01f',
    950: '#000000',
  },
}
SCSS
$custom: #51a01f;
$custom-light: #8abd66;
$custom-dark: #000000;
JSON
{
  "hex": "#51a01f",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 96.744,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63103,
    "c": 0.17583,
    "h": 136.5
  },
  "luminance": 0.2699
}

Semantic roles & 50–950 ramp

primary
#51A01F
secondary
#9958C3
accent
#3DEAA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #51A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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