#57931B#57931B

#57931B is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.0% C 0.159 H 133.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#57931B
RGBrgb(87, 147, 27)
HSLhsl(90, 69%, 34%)
HSVhsv(90, 82%, 58%)
CMYKcmyk(40.8%, 0%, 81.6%, 42.4%)
CIE-LABlab(55.04, -38.68, 52.31)
CIE-LCHlch(55.04, 65.06, 126.48°)
OKLaboklab(59.95% -0.109 0.1154)
OKLCHoklch(59.95% 0.159 133.4)
XYZxyz(14.5618, 22.9721, 4.7035)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57931B #571B93
analogous
#93931B #57931B #1B931B
triadic
#57931B #1B5793 #931B57
tetradic
#57931B #1B9393 #571B93 #931B1B
square
#57931B #1B9393 #571B93 #931B1B
split-complementary
#57931B #1B1B93 #931B93
monochromatic
#1A2C08 #385F12 #57931B #76C724 #94DE4B

Accessibility & contrast

On white

3.75
#57931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#57931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57931B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57931B#FFFFFF#000000##000000
##57931B1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#578D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #57931b;
/* rgb */ color: rgb(87, 147, 27);
/* oklch */ color: oklch(60.0% 0.159 133.4);
Tailwind
colors: {
  custom: {
    50: '#8cb363',
    500: '#57931b',
    950: '#000000',
  },
}
SCSS
$custom: #57931b;
$custom-light: #8cb363;
$custom-dark: #000000;
JSON
{
  "hex": "#57931b",
  "rgb": {
    "r": 87,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.15872,
    "h": 133.4
  },
  "luminance": 0.22973
}

Semantic roles & 50–950 ramp

primary
#57931B
secondary
#854AC0
accent
#3CEC94
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #57931B

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

Preview Lab → · Contrast checker → · Palette generator →

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