#51A11F#51A11F

#51A11F is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.4% C 0.177 H 136.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#51A11F
RGBrgb(81, 161, 31)
HSLhsl(97, 68%, 38%)
HSVhsv(97, 81%, 63%)
CMYKcmyk(49.7%, 0%, 80.7%, 36.9%)
CIE-LABlab(59.28, -46.23, 54.94)
CIE-LCHlch(59.28, 71.81, 130.08°)
OKLaboklab(63.37% -0.1287 0.1216)
OKLCHoklch(63.37% 0.177 136.6)
XYZxyz(16.3851, 27.3369, 5.7092)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A11F #6F1FA1
analogous
#92A11F #51A11F #1FA12E
triadic
#51A11F #1F51A1 #A11F51
tetradic
#51A11F #1F92A1 #6F1FA1 #A12E1F
square
#51A11F #1F92A1 #6F1FA1 #A12E1F
split-complementary
#51A11F #2E1FA1 #A11F92
monochromatic
#1D3A0B #376E15 #51A11F #6BD429 #8EDF5B

Accessibility & contrast

On white

3.25
#51A11F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#51A11F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A11F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A11F#FFFFFF#000000##000000
##51A11F1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a11f;
/* rgb */ color: rgb(81, 161, 31);
/* oklch */ color: oklch(63.4% 0.177 136.6);
Tailwind
colors: {
  custom: {
    50: '#8abd66',
    500: '#51a11f',
    950: '#000000',
  },
}
SCSS
$custom: #51a11f;
$custom-light: #8abd66;
$custom-dark: #000000;
JSON
{
  "hex": "#51a11f",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 96.923,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63367,
    "c": 0.17704,
    "h": 136.6
  },
  "luminance": 0.27338
}

Semantic roles & 50–950 ramp

primary
#51A11F
secondary
#9A58C4
accent
#3DEBA8
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A11F

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

Preview Lab → · Contrast checker → · Palette generator →

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