#5F6A2B#5F6A2B

#5F6A2B is a mid, moderate yellow-green. Relative luminance 0.129; OKLCH L 50.1% C 0.088 H 118.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5F6A2B
RGBrgb(95, 106, 43)
HSLhsl(70, 42%, 29%)
HSVhsv(70, 59%, 42%)
CMYKcmyk(10.4%, 0%, 59.4%, 58.4%)
CIE-LABlab(42.64, -14.29, 33.33)
CIE-LCHlch(42.64, 36.27, 113.20°)
OKLaboklab(50.05% -0.0412 0.0776)
OKLCHoklch(50.05% 0.088 118)
XYZxyz(10.3095, 12.9155, 4.2349)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6A2B #362B6A
analogous
#6A562B #5F6A2B #406A2B
triadic
#5F6A2B #2B5F6A #6A2B5F
tetradic
#5F6A2B #2B6A56 #362B6A #6A2B40
square
#5F6A2B #2B6A56 #362B6A #6A2B40
split-complementary
#5F6A2B #2B406A #562B6A
monochromatic
#141609 #383E19 #5F6A2B #86963D #A9BA55

Accessibility & contrast

On white

5.86
#5F6A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5F6A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6A2B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6A2B#FFFFFF#000000##FFFFFF
##5F6A2B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716524
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#64645C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f6a2b;
/* rgb */ color: rgb(95, 106, 43);
/* oklch */ color: oklch(50.1% 0.088 118.0);
Tailwind
colors: {
  custom: {
    50: '#8e9467',
    500: '#5f6a2b',
    950: '#000000',
  },
}
SCSS
$custom: #5f6a2b;
$custom-light: #8e9467;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6a2b",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 70.476,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.0879,
    "h": 118
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#5F6A2B
secondary
#61559C
accent
#56D26B
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5F6A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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