#5E6F17#5E6F17

#5E6F17 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 51.0% C 0.111 H 120.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5E6F17
RGBrgb(94, 111, 23)
HSLhsl(72, 66%, 26%)
HSVhsv(72, 79%, 44%)
CMYKcmyk(15.3%, 0%, 79.3%, 56.5%)
CIE-LABlab(43.96, -18.88, 43.48)
CIE-LCHlch(43.96, 47.40, 113.47°)
OKLaboklab(51.05% -0.056 0.0959)
OKLCHoklch(51.05% 0.111 120.3)
XYZxyz(10.4554, 13.8105, 2.9253)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6F17 #28176F
analogous
#6F5417 #5E6F17 #326F17
triadic
#5E6F17 #175E6F #6F175E
tetradic
#5E6F17 #176F54 #28176F #6F1732
square
#5E6F17 #176F54 #28176F #6F1732
split-complementary
#5E6F17 #17326F #54176F
monochromatic
#151905 #333C0C #5E6F17 #89A222 #B3D32D

Accessibility & contrast

On white

5.58
#5E6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5E6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6F17
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6F17#FFFFFF#000000##FFFFFF
##5E6F171.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766803
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#64695E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e6f17;
/* rgb */ color: rgb(94, 111, 23);
/* oklch */ color: oklch(51.0% 0.111 120.3);
Tailwind
colors: {
  custom: {
    50: '#8f985c',
    500: '#5e6f17',
    950: '#000000',
  },
}
SCSS
$custom: #5e6f17;
$custom-light: #8f985c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6f17",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 71.591,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51046,
    "c": 0.11104,
    "h": 120.3
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#5E6F17
secondary
#513DA5
accent
#3FE960
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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