#5E6610#5E6610

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

Color values

HEX#5E6610
RGBrgb(94, 102, 16)
HSLhsl(66, 73%, 23%)
HSVhsv(66, 84%, 40%)
CMYKcmyk(7.8%, 0%, 84.3%, 60%)
CIE-LABlab(41.09, -14.35, 43.20)
CIE-LCHlch(41.09, 45.52, 108.37°)
OKLaboklab(48.72% -0.0441 0.094)
OKLCHoklch(48.72% 0.104 115.2)
XYZxyz(9.4613, 11.9200, 2.2925)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6610 #181066
analogous
#664310 #5E6610 #336610
triadic
#5E6610 #105E66 #66105E
tetradic
#5E6610 #106643 #181066 #661033
square
#5E6610 #106643 #181066 #661033
split-complementary
#5E6610 #103366 #431066
monochromatic
#181A04 #2D3108 #5E6610 #8F9B18 #C0D021

Accessibility & contrast

On white

6.21
#5E6610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5E6610 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6610
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6610#FFFFFF#000000##FFFFFF
##5E66101.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6D6218
Tritanopia (blue-blind)
#655F56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e6610;
/* rgb */ color: rgb(94, 102, 16);
/* oklch */ color: oklch(48.7% 0.104 115.2);
Tailwind
colors: {
  custom: {
    50: '#8f9157',
    500: '#5e6610',
    950: '#000000',
  },
}
SCSS
$custom: #5e6610;
$custom-light: #8f9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6610",
  "rgb": {
    "r": 94,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 65.581,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.10383,
    "h": 115.2
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#5E6610
secondary
#3D339E
accent
#38F049
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6610

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

Preview Lab → · Contrast checker → · Palette generator →

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