#51B41F#51B41F

#51B41F is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.4% C 0.199 H 138.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#51B41F
RGBrgb(81, 180, 31)
HSLhsl(100, 71%, 41%)
HSVhsv(100, 83%, 71%)
CMYKcmyk(55%, 0%, 82.8%, 29.4%)
CIE-LABlab(65.35, -53.44, 60.52)
CIE-LCHlch(65.35, 80.73, 131.45°)
OKLaboklab(68.36% -0.148 0.1333)
OKLCHoklch(68.36% 0.199 138)
XYZxyz(19.9612, 34.4892, 6.9013)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B41F #821FB4
analogous
#9CB41F #51B41F #1FB438
triadic
#51B41F #1F51B4 #B41F51
tetradic
#51B41F #1F9CB4 #821FB4 #B4381F
square
#51B41F #1F9CB4 #821FB4 #B4381F
split-complementary
#51B41F #381FB4 #B41F9C
monochromatic
#224C0D #3A8016 #51B41F #6CDC34 #92E568

Accessibility & contrast

On white

2.66
#51B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#51B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B41F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B41F#FFFFFF#000000##000000
##51B41F1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AD9C32
Tritanopia (blue-blind)
#49AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b41f;
/* rgb */ color: rgb(81, 180, 31);
/* oklch */ color: oklch(68.4% 0.199 138.0);
Tailwind
colors: {
  custom: {
    50: '#8dcb69',
    500: '#51b41f',
    950: '#000000',
  },
}
SCSS
$custom: #51b41f;
$custom-light: #8dcb69;
$custom-dark: #000000;
JSON
{
  "hex": "#51b41f",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 99.866,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68364,
    "c": 0.19917,
    "h": 138
  },
  "luminance": 0.34491
}

Semantic roles & 50–950 ramp

primary
#51B41F
secondary
#A864CB
accent
#3AEDB1
background
#F9FCF6
surface
#F1F9EC
border
#CBD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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