#5E712B#5E712B

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

Color values

HEX#5E712B
RGBrgb(94, 113, 43)
HSLhsl(76, 45%, 31%)
HSVhsv(76, 62%, 44%)
CMYKcmyk(16.8%, 0%, 61.9%, 55.7%)
CIE-LABlab(44.75, -18.51, 35.70)
CIE-LCHlch(44.75, 40.21, 117.41°)
OKLaboklab(51.74% -0.053 0.0827)
OKLCHoklch(51.74% 0.098 122.7)
XYZxyz(10.9574, 14.3643, 4.4804)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E712B #3E2B71
analogous
#71612B #5E712B #3B712B
triadic
#5E712B #2B5E71 #712B5E
tetradic
#5E712B #2B7161 #3E2B71 #712B3B
square
#5E712B #2B7161 #3E2B71 #712B3B
split-complementary
#5E712B #2B3B71 #612B71
monochromatic
#141809 #39451A #5E712B #839D3C #A3BF57

Accessibility & contrast

On white

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

On black

3.87
#5E712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E712B#FFFFFF#000000##FFFFFF
##5E712B1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A23
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#636C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e712b;
/* rgb */ color: rgb(94, 113, 43);
/* oklch */ color: oklch(51.7% 0.098 122.7);
Tailwind
colors: {
  custom: {
    50: '#8d9967',
    500: '#5e712b',
    950: '#000000',
  },
}
SCSS
$custom: #5e712b;
$custom-light: #8d9967;
$custom-dark: #000000;
JSON
{
  "hex": "#5e712b",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 76.286,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.09821,
    "h": 122.7
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#5E712B
secondary
#6A55A3
accent
#53D576
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E712B

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

Preview Lab → · Contrast checker → · Palette generator →

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