#5E6811#5E6811

#5E6811 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.2% C 0.106 H 116.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5E6811
RGBrgb(94, 104, 17)
HSLhsl(67, 72%, 24%)
HSVhsv(67, 84%, 41%)
CMYKcmyk(9.6%, 0%, 83.7%, 59.2%)
CIE-LABlab(41.72, -15.40, 43.45)
CIE-LCHlch(41.72, 46.10, 109.52°)
OKLaboklab(49.23% -0.047 0.0947)
OKLCHoklch(49.23% 0.106 116.4)
XYZxyz(9.6679, 12.3209, 2.3991)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6811 #1B1168
analogous
#684611 #5E6811 #326811
triadic
#5E6811 #115E68 #68115E
tetradic
#5E6811 #116846 #1B1168 #681132
square
#5E6811 #116846 #1B1168 #681132
split-complementary
#5E6811 #113268 #461168
monochromatic
#181A04 #2E3308 #5E6811 #8E9D1A #BDD122

Accessibility & contrast

On white

6.06
#5E6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5E6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6811
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6811#FFFFFF#000000##FFFFFF
##5E68111.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#656258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6811;
/* rgb */ color: rgb(94, 104, 17);
/* oklch */ color: oklch(49.2% 0.106 116.4);
Tailwind
colors: {
  custom: {
    50: '#8f9358',
    500: '#5e6811',
    950: '#000000',
  },
}
SCSS
$custom: #5e6811;
$custom-light: #8f9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6811",
  "rgb": {
    "r": 94,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 66.897,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.1057,
    "h": 116.4
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#5E6811
secondary
#4135A0
accent
#39EF4E
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6811

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

Preview Lab → · Contrast checker → · Palette generator →

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