#57951B#57951B

#57951B is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.5% C 0.161 H 133.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#57951B
RGBrgb(87, 149, 27)
HSLhsl(90, 69%, 35%)
HSVhsv(90, 82%, 58%)
CMYKcmyk(41.6%, 0%, 81.9%, 41.6%)
CIE-LABlab(55.68, -39.53, 52.90)
CIE-LCHlch(55.68, 66.04, 126.77°)
OKLaboklab(60.48% -0.1113 0.1166)
OKLCHoklch(60.48% 0.161 133.7)
XYZxyz(14.8755, 23.5995, 4.8081)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57951B #591B95
analogous
#94951B #57951B #1B951C
triadic
#57951B #1B5795 #951B57
tetradic
#57951B #1B9495 #591B95 #951C1B
square
#57951B #1B9495 #591B95 #951C1B
split-complementary
#57951B #1C1B95 #951B94
monochromatic
#1A2D08 #396112 #57951B #75C924 #94DF4C

Accessibility & contrast

On white

3.67
#57951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#57951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57951B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57951B#FFFFFF#000000##000000
##57951B1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#578F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #57951b;
/* rgb */ color: rgb(87, 149, 27);
/* oklch */ color: oklch(60.5% 0.161 133.7);
Tailwind
colors: {
  custom: {
    50: '#8cb463',
    500: '#57951b',
    950: '#000000',
  },
}
SCSS
$custom: #57951b;
$custom-light: #8cb463;
$custom-dark: #000000;
JSON
{
  "hex": "#57951b",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 90.492,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60477,
    "c": 0.1612,
    "h": 133.7
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#57951B
secondary
#874BC1
accent
#3CEC95
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #57951B

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

Preview Lab → · Contrast checker → · Palette generator →

#57951B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva