#5E731D#5E731D

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

Color values

HEX#5E731D
RGBrgb(94, 115, 29)
HSLhsl(75, 60%, 28%)
HSVhsv(75, 75%, 45%)
CMYKcmyk(18.3%, 0%, 74.8%, 54.9%)
CIE-LABlab(45.26, -20.63, 42.48)
CIE-LCHlch(45.26, 47.22, 115.90°)
OKLaboklab(52.11% -0.0603 0.0949)
OKLCHoklch(52.11% 0.112 122.4)
XYZxyz(10.9687, 14.7298, 3.4274)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E731D #321D73
analogous
#735D1D #5E731D #33731D
triadic
#5E731D #1D5E73 #731D5E
tetradic
#5E731D #1D735D #321D73 #731D33
square
#5E731D #1D735D #321D73 #731D33
split-complementary
#5E731D #1D3373 #5D1D73
monochromatic
#141806 #364211 #5E731D #86A429 #AACE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E731D#FFFFFF#000000##FFFFFF
##5E731D1.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)
#7A6C0E
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#636D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e731d;
/* rgb */ color: rgb(94, 115, 29);
/* oklch */ color: oklch(52.1% 0.112 122.4);
Tailwind
colors: {
  custom: {
    50: '#8e9b5f',
    500: '#5e731d',
    950: '#000000',
  },
}
SCSS
$custom: #5e731d;
$custom-light: #8e9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e731d",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 74.651,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52108,
    "c": 0.11239,
    "h": 122.4
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#5E731D
secondary
#5D45A7
accent
#45E36B
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5E731D

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

Preview Lab → · Contrast checker → · Palette generator →

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