#5F742E#5F742E

#5F742E is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.6% C 0.099 H 123.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5F742E
RGBrgb(95, 116, 46)
HSLhsl(78, 43%, 32%)
HSVhsv(78, 60%, 45%)
CMYKcmyk(18.1%, 0%, 60.3%, 54.5%)
CIE-LABlab(45.80, -19.38, 35.42)
CIE-LCHlch(45.80, 40.37, 118.69°)
OKLaboklab(52.61% -0.0552 0.0825)
OKLCHoklch(52.61% 0.099 123.8)
XYZxyz(11.4579, 15.1209, 4.8992)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F742E #432E74
analogous
#74662E #5F742E #3C742E
triadic
#5F742E #2E5F74 #742E5F
tetradic
#5F742E #2E7466 #432E74 #742E3C
square
#5F742E #2E7466 #432E74 #742E3C
split-complementary
#5F742E #2E3C74 #662E74
monochromatic
#171C0B #3B481D #5F742E #83A03F #A2BF5D

Accessibility & contrast

On white

5.22
#5F742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5F742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F742E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F742E#FFFFFF#000000##FFFFFF
##5F742E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D27
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#636F65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f742e;
/* rgb */ color: rgb(95, 116, 46);
/* oklch */ color: oklch(52.6% 0.099 123.8);
Tailwind
colors: {
  custom: {
    50: '#8e9c69',
    500: '#5f742e',
    950: '#000000',
  },
}
SCSS
$custom: #5f742e;
$custom-light: #8e9c69;
$custom-dark: #000000;
JSON
{
  "hex": "#5f742e",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 78,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.0992,
    "h": 123.8
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#5F742E
secondary
#7059A5
accent
#55D37B
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5F742E

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

Preview Lab → · Contrast checker → · Palette generator →

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