#5F6F2D#5F6F2D

#5F6F2D is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.093 H 121.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5F6F2D
RGBrgb(95, 111, 45)
HSLhsl(75, 42%, 31%)
HSVhsv(75, 59%, 44%)
CMYKcmyk(14.4%, 0%, 59.5%, 56.5%)
CIE-LABlab(44.22, -16.82, 34.12)
CIE-LCHlch(44.22, 38.04, 116.23°)
OKLaboklab(51.33% -0.0481 0.0796)
OKLCHoklch(51.33% 0.093 121.2)
XYZxyz(10.8775, 13.9912, 4.6096)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6F2D #3D2D6F
analogous
#6F5E2D #5F6F2D #3E6F2D
triadic
#5F6F2D #2D5F6F #6F2D5F
tetradic
#5F6F2D #2D6F5E #3D2D6F #6F2D3E
square
#5F6F2D #2D6F5E #3D2D6F #6F2D3E
split-complementary
#5F6F2D #2D3E6F #5E2D6F
monochromatic
#14180A #3A431B #5F6F2D #849B3F #A4BC5A

Accessibility & contrast

On white

5.53
#5F6F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5F6F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6F2D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6F2D#FFFFFF#000000##FFFFFF
##5F6F2D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756926
Deuteranopia (green-blind)
#736931
Tritanopia (blue-blind)
#646A61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f6f2d;
/* rgb */ color: rgb(95, 111, 45);
/* oklch */ color: oklch(51.3% 0.093 121.2);
Tailwind
colors: {
  custom: {
    50: '#8e9868',
    500: '#5f6f2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f6f2d;
$custom-light: #8e9868;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6f2d",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 74.545,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.09298,
    "h": 121.2
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#5F6F2D
secondary
#6957A1
accent
#56D274
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5F6F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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