#51B41C#51B41C

#51B41C is a light, highly saturated yellow-green. Relative luminance 0.345; OKLCH L 68.4% C 0.200 H 137.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#51B41C
RGBrgb(81, 180, 28)
HSLhsl(99, 73%, 41%)
HSVhsv(99, 84%, 71%)
CMYKcmyk(55%, 0%, 84.4%, 29.4%)
CIE-LABlab(65.34, -53.58, 61.27)
CIE-LCHlch(65.34, 81.39, 131.17°)
OKLaboklab(68.35% -0.1485 0.1345)
OKLCHoklch(68.35% 0.2 137.8)
XYZxyz(19.9235, 34.4741, 6.7027)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B41C #7F1CB4
analogous
#9DB41C #51B41C #1CB433
triadic
#51B41C #1C51B4 #B41C51
tetradic
#51B41C #1C9DB4 #7F1CB4 #B4331C
square
#51B41C #1C9DB4 #7F1CB4 #B4331C
split-complementary
#51B41C #331CB4 #B41C9D
monochromatic
#214A0C #397F14 #51B41C #6CDF2F #91E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51B41C#FFFFFF#000000##000000
##51B41C1.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)
#AD9C30
Tritanopia (blue-blind)
#49AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b41c;
/* rgb */ color: rgb(81, 180, 28);
/* oklch */ color: oklch(68.4% 0.200 137.8);
Tailwind
colors: {
  custom: {
    50: '#8dcb68',
    500: '#51b41c',
    950: '#000000',
  },
}
SCSS
$custom: #51b41c;
$custom-light: #8dcb68;
$custom-dark: #000000;
JSON
{
  "hex": "#51b41c",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 99.079,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68351,
    "c": 0.20034,
    "h": 137.8
  },
  "luminance": 0.34476
}

Semantic roles & 50–950 ramp

primary
#51B41C
secondary
#A660CC
accent
#38F0B0
background
#F9FCF6
surface
#F1F9EB
border
#CBD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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