#5E6612#5E6612

#5E6612 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.7% C 0.103 H 115.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5E6612
RGBrgb(94, 102, 18)
HSLhsl(66, 70%, 24%)
HSVhsv(66, 82%, 40%)
CMYKcmyk(7.8%, 0%, 82.4%, 60%)
CIE-LABlab(41.10, -14.26, 42.57)
CIE-LCHlch(41.10, 44.89, 108.52°)
OKLaboklab(48.74% -0.0437 0.093)
OKLCHoklch(48.74% 0.103 115.2)
XYZxyz(9.4769, 11.9263, 2.3749)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6612 #1A1266
analogous
#664412 #5E6612 #346612
triadic
#5E6612 #125E66 #66125E
tetradic
#5E6612 #126644 #1A1266 #661234
square
#5E6612 #126644 #1A1266 #661234
split-complementary
#5E6612 #123466 #441266
monochromatic
#181A05 #2E3209 #5E6612 #8E9A1B #BECE24

Accessibility & contrast

On white

6.20
#5E6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5E6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6612
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6612#FFFFFF#000000##FFFFFF
##5E66121.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6D621A
Tritanopia (blue-blind)
#656057
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e6612;
/* rgb */ color: rgb(94, 102, 18);
/* oklch */ color: oklch(48.7% 0.103 115.2);
Tailwind
colors: {
  custom: {
    50: '#8f9158',
    500: '#5e6612',
    950: '#000000',
  },
}
SCSS
$custom: #5e6612;
$custom-light: #8f9158;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6612",
  "rgb": {
    "r": 94,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 65.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48735,
    "c": 0.10278,
    "h": 115.2
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#5E6612
secondary
#40369E
accent
#3BED4C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6612

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

Preview Lab → · Contrast checker → · Palette generator →

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