#5E712D#5E712D

#5E712D is a mid, moderate yellow-green. Relative luminance 0.144; OKLCH L 51.8% C 0.096 H 122.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E712D
RGBrgb(94, 113, 45)
HSLhsl(77, 43%, 31%)
HSVhsv(77, 60%, 44%)
CMYKcmyk(16.8%, 0%, 60.2%, 55.7%)
CIE-LABlab(44.77, -18.32, 34.73)
CIE-LCHlch(44.77, 39.27, 117.82°)
OKLaboklab(51.76% -0.0523 0.0809)
OKLCHoklch(51.76% 0.096 122.9)
XYZxyz(10.9949, 14.3794, 4.6784)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E712D #402D71
analogous
#71622D #5E712D #3C712D
triadic
#5E712D #2D5E71 #712D5E
tetradic
#5E712D #2D7162 #402D71 #712D3C
square
#5E712D #2D7162 #402D71 #712D3C
split-complementary
#5E712D #2D3C71 #622D71
monochromatic
#15190A #3A451C #5E712D #829D3E #A2BE5B

Accessibility & contrast

On white

5.42
#5E712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5E712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E712D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E712D#FFFFFF#000000##FFFFFF
##5E712D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A26
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#626C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e712d;
/* rgb */ color: rgb(94, 113, 45);
/* oklch */ color: oklch(51.8% 0.096 122.9);
Tailwind
colors: {
  custom: {
    50: '#8d9969',
    500: '#5e712d',
    950: '#000000',
  },
}
SCSS
$custom: #5e712d;
$custom-light: #8d9969;
$custom-dark: #000000;
JSON
{
  "hex": "#5e712d",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 76.765,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51759,
    "c": 0.09629,
    "h": 122.9
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#5E712D
secondary
#6C57A3
accent
#55D378
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E712D

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

Preview Lab → · Contrast checker → · Palette generator →

#5E712D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva