#5E752A#5E752A

#5E752A is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.105 H 124.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5E752A
RGBrgb(94, 117, 42)
HSLhsl(78, 47%, 31%)
HSVhsv(78, 64%, 46%)
CMYKcmyk(19.7%, 0%, 64.1%, 54.1%)
CIE-LABlab(46.00, -20.70, 37.56)
CIE-LCHlch(46.00, 42.89, 118.86°)
OKLaboklab(52.74% -0.0592 0.0865)
OKLCHoklch(52.74% 0.105 124.4)
XYZxyz(11.3954, 15.2693, 4.5370)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E752A #412A75
analogous
#75662A #5E752A #38752A
triadic
#5E752A #2A5E75 #752A5E
tetradic
#5E752A #2A7566 #412A75 #752A38
square
#5E752A #2A7566 #412A75 #752A38
split-complementary
#5E752A #2A3875 #662A75
monochromatic
#161B0A #3A481A #5E752A #82A23A #A2C357

Accessibility & contrast

On white

5.18
#5E752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5E752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E752A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E752A#FFFFFF#000000##FFFFFF
##5E752A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E21
Deuteranopia (green-blind)
#786D2F
Tritanopia (blue-blind)
#626F65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e752a;
/* rgb */ color: rgb(94, 117, 42);
/* oklch */ color: oklch(52.7% 0.105 124.4);
Tailwind
colors: {
  custom: {
    50: '#8e9c67',
    500: '#5e752a',
    950: '#000000',
  },
}
SCSS
$custom: #5e752a;
$custom-light: #8e9c67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e752a",
  "rgb": {
    "r": 94,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 78.4,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.10483,
    "h": 124.4
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

primary
#5E752A
secondary
#6D54A7
accent
#51D77A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E752A

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

Preview Lab → · Contrast checker → · Palette generator →

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