#5E6011#5E6011

#5E6011 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.096 H 111.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5E6011
RGBrgb(94, 96, 17)
HSLhsl(62, 70%, 22%)
HSVhsv(62, 82%, 38%)
CMYKcmyk(2.1%, 0%, 82.3%, 62.4%)
CIE-LABlab(39.22, -10.95, 41.20)
CIE-LCHlch(39.22, 42.63, 104.89°)
OKLaboklab(47.23% -0.0347 0.0899)
OKLCHoklch(47.23% 0.096 111.1)
XYZxyz(8.9005, 10.7861, 2.1433)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6011 #131160
analogous
#603B11 #5E6011 #376011
triadic
#5E6011 #115E60 #60115E
tetradic
#5E6011 #11603B #131160 #601137
square
#5E6011 #11603B #131160 #601137
split-complementary
#5E6011 #113760 #3B1160
monochromatic
#191A05 #2B2C08 #5E6011 #91941A #C4C823

Accessibility & contrast

On white

6.65
#5E6011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E6011 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6011
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6011#FFFFFF#000000##FFFFFF
##5E60111.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#695D18
Tritanopia (blue-blind)
#655951
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e6011;
/* rgb */ color: rgb(94, 96, 17);
/* oklch */ color: oklch(47.2% 0.096 111.1);
Tailwind
colors: {
  custom: {
    50: '#8f8c57',
    500: '#5e6011',
    950: '#000000',
  },
}
SCSS
$custom: #5e6011;
$custom-light: #8f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6011",
  "rgb": {
    "r": 94,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 61.519,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.47226,
    "c": 0.09635,
    "h": 111.1
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#5E6011
secondary
#373499
accent
#3BED40
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E6011

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

Preview Lab → · Contrast checker → · Palette generator →

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