#5E6F16#5E6F16

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

Color values

HEX#5E6F16
RGBrgb(94, 111, 22)
HSLhsl(71, 67%, 26%)
HSVhsv(71, 80%, 44%)
CMYKcmyk(15.3%, 0%, 80.2%, 56.5%)
CIE-LABlab(43.95, -18.93, 43.82)
CIE-LCHlch(43.95, 47.74, 113.36°)
OKLaboklab(51.04% -0.0562 0.0964)
OKLCHoklch(51.04% 0.112 120.2)
XYZxyz(10.4456, 13.8065, 2.8735)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6F16 #27166F
analogous
#6F5316 #5E6F16 #316F16
triadic
#5E6F16 #165E6F #6F165E
tetradic
#5E6F16 #166F53 #27166F #6F1631
square
#5E6F16 #166F53 #27166F #6F1631
split-complementary
#5E6F16 #16316F #53166F
monochromatic
#161A05 #333C0C #5E6F16 #89A220 #B4D52B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E6F16#FFFFFF#000000##FFFFFF
##5E6F161.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)
#766801
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#64695E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e6f16;
/* rgb */ color: rgb(94, 111, 22);
/* oklch */ color: oklch(51.0% 0.112 120.2);
Tailwind
colors: {
  custom: {
    50: '#8f985b',
    500: '#5e6f16',
    950: '#000000',
  },
}
SCSS
$custom: #5e6f16;
$custom-light: #8f985b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6f16",
  "rgb": {
    "r": 94,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 71.461,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51039,
    "c": 0.11164,
    "h": 120.2
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#5E6F16
secondary
#503CA5
accent
#3EEA5F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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