#5E731E#5E731E

#5E731E is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.1% C 0.112 H 122.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5E731E
RGBrgb(94, 115, 30)
HSLhsl(75, 59%, 28%)
HSVhsv(75, 74%, 45%)
CMYKcmyk(18.3%, 0%, 73.9%, 54.9%)
CIE-LABlab(45.27, -20.57, 42.08)
CIE-LCHlch(45.27, 46.84, 116.04°)
OKLaboklab(52.12% -0.06 0.0942)
OKLCHoklch(52.12% 0.112 122.5)
XYZxyz(10.9813, 14.7349, 3.4936)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E731E #331E73
analogous
#735D1E #5E731E #33731E
triadic
#5E731E #1E5E73 #731E5E
tetradic
#5E731E #1E735D #331E73 #731E33
square
#5E731E #1E735D #331E73 #731E33
split-complementary
#5E731E #1E3373 #5D1E73
monochromatic
#141806 #364211 #5E731E #86A42B #AACD3F

Accessibility & contrast

On white

5.32
#5E731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5E731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E731E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E731E#FFFFFF#000000##FFFFFF
##5E731E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0F
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#636D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e731e;
/* rgb */ color: rgb(94, 115, 30);
/* oklch */ color: oklch(52.1% 0.112 122.5);
Tailwind
colors: {
  custom: {
    50: '#8e9b60',
    500: '#5e731e',
    950: '#000000',
  },
}
SCSS
$custom: #5e731e;
$custom-light: #8e9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e731e",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 74.824,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.1117,
    "h": 122.5
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#5E731E
secondary
#5E46A7
accent
#46E26C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5E731E

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

Preview Lab → · Contrast checker → · Palette generator →

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