#5F6E17#5F6E17

#5F6E17 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.9% C 0.109 H 119.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5F6E17
RGBrgb(95, 110, 23)
HSLhsl(70, 65%, 26%)
HSVhsv(70, 79%, 43%)
CMYKcmyk(13.6%, 0%, 79.1%, 56.9%)
CIE-LABlab(43.72, -17.89, 43.28)
CIE-LCHlch(43.72, 46.83, 112.46°)
OKLaboklab(50.87% -0.0533 0.0954)
OKLCHoklch(50.87% 0.109 119.2)
XYZxyz(10.4501, 13.6467, 2.8940)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6E17 #26176E
analogous
#6E5117 #5F6E17 #336E17
triadic
#5F6E17 #175F6E #6E175F
tetradic
#5F6E17 #176E51 #26176E #6E1733
square
#5F6E17 #176E51 #26176E #6E1733
split-complementary
#5F6E17 #17336E #51176E
monochromatic
#161905 #333B0C #5F6E17 #8BA122 #B6D32C

Accessibility & contrast

On white

5.63
#5F6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5F6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6E17
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6E17#FFFFFF#000000##FFFFFF
##5F6E171.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766704
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#65685E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f6e17;
/* rgb */ color: rgb(95, 110, 23);
/* oklch */ color: oklch(50.9% 0.109 119.2);
Tailwind
colors: {
  custom: {
    50: '#8f975c',
    500: '#5f6e17',
    950: '#000000',
  },
}
SCSS
$custom: #5f6e17;
$custom-light: #8f975c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6e17",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 70.345,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50874,
    "c": 0.10935,
    "h": 119.2
  },
  "luminance": 0.13647
}

Semantic roles & 50–950 ramp

primary
#5F6E17
secondary
#4F3DA4
accent
#3FE85D
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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