#51B41B#51B41B

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

Color values

HEX#51B41B
RGBrgb(81, 180, 27)
HSLhsl(99, 74%, 41%)
HSVhsv(99, 85%, 71%)
CMYKcmyk(55%, 0%, 85%, 29.4%)
CIE-LABlab(65.33, -53.62, 61.50)
CIE-LCHlch(65.33, 81.60, 131.08°)
OKLaboklab(68.35% -0.1487 0.1348)
OKLCHoklch(68.35% 0.201 137.8)
XYZxyz(19.9117, 34.4694, 6.6407)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B41B #7E1BB4
analogous
#9DB41B #51B41B #1BB432
triadic
#51B41B #1B51B4 #B41B51
tetradic
#51B41B #1B9DB4 #7E1BB4 #B4321B
square
#51B41B #1B9DB4 #7E1BB4 #B4321B
split-complementary
#51B41B #321BB4 #B41B9D
monochromatic
#214A0B #397F13 #51B41B #6CDF2D #91E762

Accessibility & contrast

On white

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

On black

7.89
#51B41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B41B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B41B#FFFFFF#000000##000000
##51B41B1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.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: #51b41b;
/* rgb */ color: rgb(81, 180, 27);
/* oklch */ color: oklch(68.3% 0.201 137.8);
Tailwind
colors: {
  custom: {
    50: '#8dcb68',
    500: '#51b41b',
    950: '#000000',
  },
}
SCSS
$custom: #51b41b;
$custom-light: #8dcb68;
$custom-dark: #000000;
JSON
{
  "hex": "#51b41b",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 98.824,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68347,
    "c": 0.2007,
    "h": 137.8
  },
  "luminance": 0.34471
}

Semantic roles & 50–950 ramp

primary
#51B41B
secondary
#A55FCC
accent
#37F1AF
background
#F9FCF6
surface
#F1F9EB
border
#CBD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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