#57951F#57951F

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

Color values

HEX#57951F
RGBrgb(87, 149, 31)
HSLhsl(92, 66%, 35%)
HSVhsv(92, 79%, 58%)
CMYKcmyk(41.6%, 0%, 79.2%, 41.6%)
CIE-LABlab(55.70, -39.32, 51.68)
CIE-LCHlch(55.70, 64.94, 127.26°)
OKLaboklab(60.5% -0.1105 0.1147)
OKLCHoklch(60.5% 0.159 133.9)
XYZxyz(14.9250, 23.6193, 5.0686)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57951F #5D1F95
analogous
#92951F #57951F #1F9522
triadic
#57951F #1F5795 #951F57
tetradic
#57951F #1F9295 #5D1F95 #95221F
square
#57951F #1F9295 #5D1F95 #95221F
split-complementary
#57951F #221F95 #951F92
monochromatic
#1C300A #396214 #57951F #75C82A #94DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##57951F#FFFFFF#000000##000000
##57951F1.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)
#93842C
Tritanopia (blue-blind)
#568F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #57951f;
/* rgb */ color: rgb(87, 149, 31);
/* oklch */ color: oklch(60.5% 0.159 133.9);
Tailwind
colors: {
  custom: {
    50: '#8cb465',
    500: '#57951f',
    950: '#000000',
  },
}
SCSS
$custom: #57951f;
$custom-light: #8cb465;
$custom-dark: #000000;
JSON
{
  "hex": "#57951f",
  "rgb": {
    "r": 87,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 91.525,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.605,
    "c": 0.15923,
    "h": 133.9
  },
  "luminance": 0.2362
}

Semantic roles & 50–950 ramp

primary
#57951F
secondary
#8B51BF
accent
#3FE998
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #57951F

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

Preview Lab → · Contrast checker → · Palette generator →

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