#5F752A#5F752A

#5F752A is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.8% C 0.104 H 123.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5F752A
RGBrgb(95, 117, 42)
HSLhsl(78, 47%, 31%)
HSVhsv(78, 64%, 46%)
CMYKcmyk(18.8%, 0%, 64.1%, 54.1%)
CIE-LABlab(46.07, -20.27, 37.66)
CIE-LCHlch(46.07, 42.77, 118.29°)
OKLaboklab(52.82% -0.058 0.0867)
OKLCHoklch(52.82% 0.104 123.8)
XYZxyz(11.4986, 15.3226, 4.5418)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F752A #402A75
analogous
#75652A #5F752A #39752A
triadic
#5F752A #2A5F75 #752A5F
tetradic
#5F752A #2A7565 #402A75 #752A39
square
#5F752A #2A7565 #402A75 #752A39
split-complementary
#5F752A #2A3975 #652A75
monochromatic
#161B0A #3A481A #5F752A #84A23A #A3C357

Accessibility & contrast

On white

5.17
#5F752A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5F752A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F752A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F752A#FFFFFF#000000##FFFFFF
##5F752A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#636F65
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f752a;
/* rgb */ color: rgb(95, 117, 42);
/* oklch */ color: oklch(52.8% 0.104 123.8);
Tailwind
colors: {
  custom: {
    50: '#8e9c67',
    500: '#5f752a',
    950: '#000000',
  },
}
SCSS
$custom: #5f752a;
$custom-light: #8e9c67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f752a",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 42
  },
  "hsl": {
    "h": 77.6,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.10435,
    "h": 123.8
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#5F752A
secondary
#6C54A7
accent
#51D778
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E06
muted
#7D7E7A

Preview Lab

Preview with #5F752A

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

Preview Lab → · Contrast checker → · Palette generator →

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