#51B319#51B319

#51B319 is a light, highly saturated yellow-green. Relative luminance 0.341; OKLCH L 68.1% C 0.200 H 137.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#51B319
RGBrgb(81, 179, 25)
HSLhsl(98, 75%, 40%)
HSVhsv(98, 86%, 70%)
CMYKcmyk(54.7%, 0%, 86%, 29.8%)
CIE-LABlab(65.01, -53.33, 61.68)
CIE-LCHlch(65.01, 81.54, 130.85°)
OKLaboklab(68.08% -0.148 0.1349)
OKLCHoklch(68.08% 0.2 137.6)
XYZxyz(19.6882, 34.0581, 6.4559)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B319 #7B19B3
analogous
#9EB319 #51B319 #19B32E
triadic
#51B319 #1951B3 #B31951
tetradic
#51B319 #199EB3 #7B19B3 #B32E19
square
#51B319 #199EB3 #7B19B3 #B32E19
split-complementary
#51B319 #2E19B3 #B3199E
monochromatic
#20480A #397D12 #51B319 #6BE128 #90E85E

Accessibility & contrast

On white

2.69
#51B319 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#51B319 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B319
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B319#FFFFFF#000000##000000
##51B3191.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#49AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51b319;
/* rgb */ color: rgb(81, 179, 25);
/* oklch */ color: oklch(68.1% 0.200 137.6);
Tailwind
colors: {
  custom: {
    50: '#8dca67',
    500: '#51b319',
    950: '#000000',
  },
}
SCSS
$custom: #51b319;
$custom-light: #8dca67;
$custom-dark: #000000;
JSON
{
  "hex": "#51b319",
  "rgb": {
    "r": 81,
    "g": 179,
    "b": 25
  },
  "hsl": {
    "h": 98.182,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.68076,
    "c": 0.20027,
    "h": 137.6
  },
  "luminance": 0.3406
}

Semantic roles & 50–950 ramp

primary
#51B319
secondary
#A35BCC
accent
#36F2AE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B319

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

Preview Lab → · Contrast checker → · Palette generator →

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