#5E6C16#5E6C16

#5E6C16 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.3% C 0.108 H 118.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5E6C16
RGBrgb(94, 108, 22)
HSLhsl(70, 66%, 25%)
HSVhsv(70, 80%, 42%)
CMYKcmyk(13%, 0%, 79.6%, 57.6%)
CIE-LABlab(43.01, -17.33, 42.94)
CIE-LCHlch(43.01, 46.31, 111.98°)
OKLaboklab(50.28% -0.0518 0.0946)
OKLCHoklch(50.28% 0.108 118.7)
XYZxyz(10.1237, 13.1628, 2.7663)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6C16 #24166C
analogous
#6C4F16 #5E6C16 #336C16
triadic
#5E6C16 #165E6C #6C165E
tetradic
#5E6C16 #166C4F #24166C #6C1633
square
#5E6C16 #166C4F #24166C #6C1633
split-complementary
#5E6C16 #16336C #4F166C
monochromatic
#161905 #32390C #5E6C16 #8A9F20 #B7D22B

Accessibility & contrast

On white

5.78
#5E6C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5E6C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6C16
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6C16#FFFFFF#000000##FFFFFF
##5E6C161.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#64665C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e6c16;
/* rgb */ color: rgb(94, 108, 22);
/* oklch */ color: oklch(50.3% 0.108 118.7);
Tailwind
colors: {
  custom: {
    50: '#8e965b',
    500: '#5e6c16',
    950: '#000000',
  },
}
SCSS
$custom: #5e6c16;
$custom-light: #8e965b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6c16",
  "rgb": {
    "r": 94,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 69.767,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.10785,
    "h": 118.7
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#5E6C16
secondary
#4C3CA2
accent
#3FE95A
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6C16

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

Preview Lab → · Contrast checker → · Palette generator →

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