#57942D#57942D

#57942D is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.3% C 0.149 H 135.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#57942D
RGBrgb(87, 148, 45)
HSLhsl(96, 53%, 38%)
HSVhsv(96, 70%, 58%)
CMYKcmyk(41.2%, 0%, 69.6%, 42%)
CIE-LABlab(55.48, -37.93, 46.26)
CIE-LCHlch(55.48, 59.82, 129.35°)
OKLaboklab(60.34% -0.1057 0.1054)
OKLCHoklch(60.34% 0.149 135.1)
XYZxyz(14.9937, 23.3947, 6.2077)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57942D #6A2D94
analogous
#8A942D #57942D #2D9436
triadic
#57942D #2D5794 #942D57
tetradic
#57942D #2D8A94 #6A2D94 #94362D
square
#57942D #2D8A94 #6A2D94 #94362D
split-complementary
#57942D #362D94 #942D8A
monochromatic
#203610 #3B651F #57942D #73C33B #94D26A

Accessibility & contrast

On white

3.70
#57942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#57942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #57942D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57942D#FFFFFF#000000##000000
##57942D1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881E
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#568E7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #57942d;
/* rgb */ color: rgb(87, 148, 45);
/* oklch */ color: oklch(60.3% 0.149 135.1);
Tailwind
colors: {
  custom: {
    50: '#8bb46c',
    500: '#57942d',
    950: '#000000',
  },
}
SCSS
$custom: #57942d;
$custom-light: #8bb46c;
$custom-dark: #000000;
JSON
{
  "hex": "#57942d",
  "rgb": {
    "r": 87,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 95.534,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60343,
    "c": 0.14926,
    "h": 135.1
  },
  "luminance": 0.23396
}

Semantic roles & 50–950 ramp

primary
#57942D
secondary
#9664B8
accent
#4BDDA1
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #57942D

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

Preview Lab → · Contrast checker → · Palette generator →

#57942D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva