#5E6711#5E6711

#5E6711 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.0% C 0.104 H 115.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5E6711
RGBrgb(94, 103, 17)
HSLhsl(66, 72%, 24%)
HSVhsv(66, 83%, 40%)
CMYKcmyk(8.7%, 0%, 83.5%, 59.6%)
CIE-LABlab(41.41, -14.85, 43.17)
CIE-LCHlch(41.41, 45.65, 108.99°)
OKLaboklab(48.98% -0.0454 0.0941)
OKLCHoklch(48.98% 0.105 115.8)
XYZxyz(9.5678, 12.1208, 2.3657)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6711 #1A1167
analogous
#674511 #5E6711 #336711
triadic
#5E6711 #115E67 #67115E
tetradic
#5E6711 #116745 #1A1167 #671133
square
#5E6711 #116745 #1A1167 #671133
split-complementary
#5E6711 #113367 #451167
monochromatic
#181A04 #2E3208 #5E6711 #8E9C1A #BED022

Accessibility & contrast

On white

6.13
#5E6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6711
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6711#FFFFFF#000000##FFFFFF
##5E67111.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#656157
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e6711;
/* rgb */ color: rgb(94, 103, 17);
/* oklch */ color: oklch(49.0% 0.104 115.8);
Tailwind
colors: {
  custom: {
    50: '#8f9258',
    500: '#5e6711',
    950: '#000000',
  },
}
SCSS
$custom: #5e6711;
$custom-light: #8f9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6711",
  "rgb": {
    "r": 94,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 66.279,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.1045,
    "h": 115.8
  },
  "luminance": 0.12121
}

Semantic roles & 50–950 ramp

primary
#5E6711
secondary
#40359F
accent
#39EE4C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6711

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

Preview Lab → · Contrast checker → · Palette generator →

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