#5E6B11#5E6B11

#5E6B11 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.0% C 0.109 H 118.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5E6B11
RGBrgb(94, 107, 17)
HSLhsl(69, 73%, 24%)
HSVhsv(69, 84%, 42%)
CMYKcmyk(12.1%, 0%, 84.1%, 58%)
CIE-LABlab(42.67, -17.02, 44.29)
CIE-LCHlch(42.67, 47.45, 111.02°)
OKLaboklab(49.99% -0.0514 0.0965)
OKLCHoklch(49.99% 0.109 118.1)
XYZxyz(9.9752, 12.9356, 2.5015)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6B11 #1E116B
analogous
#6B4B11 #5E6B11 #316B11
triadic
#5E6B11 #115E6B #6B115E
tetradic
#5E6B11 #116B4B #1E116B #6B1131
square
#5E6B11 #116B4B #1E116B #6B1131
split-complementary
#5E6B11 #11316B #4B116B
monochromatic
#171A04 #303609 #5E6B11 #8CA019 #BBD522

Accessibility & contrast

On white

5.85
#5E6B11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5E6B11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6B11
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6B11#FFFFFF#000000##FFFFFF
##5E6B111.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#71651A
Tritanopia (blue-blind)
#64655B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e6b11;
/* rgb */ color: rgb(94, 107, 17);
/* oklch */ color: oklch(50.0% 0.109 118.1);
Tailwind
colors: {
  custom: {
    50: '#8f9559',
    500: '#5e6b11',
    950: '#000000',
  },
}
SCSS
$custom: #5e6b11;
$custom-light: #8f9559;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6b11",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 17
  },
  "hsl": {
    "h": 68.667,
    "s": 72.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.10934,
    "h": 118.1
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#5E6B11
secondary
#4535A3
accent
#39EF53
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6B11

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

Preview Lab → · Contrast checker → · Palette generator →

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