#5E6A11#5E6A11

#5E6A11 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.7% C 0.108 H 117.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5E6A11
RGBrgb(94, 106, 17)
HSLhsl(68, 72%, 24%)
HSVhsv(68, 84%, 42%)
CMYKcmyk(11.3%, 0%, 84%, 58.4%)
CIE-LABlab(42.35, -16.48, 44.01)
CIE-LCHlch(42.35, 47.00, 110.53°)
OKLaboklab(49.74% -0.0499 0.0959)
OKLCHoklch(49.74% 0.108 117.5)
XYZxyz(9.8716, 12.7283, 2.4670)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6A11 #1D116A
analogous
#6A4A11 #5E6A11 #326A11
triadic
#5E6A11 #115E6A #6A115E
tetradic
#5E6A11 #116A4A #1D116A #6A1132
square
#5E6A11 #116A4A #1D116A #6A1132
split-complementary
#5E6A11 #11326A #4A116A
monochromatic
#171A04 #2F3509 #5E6A11 #8D9F19 #BCD322

Accessibility & contrast

On white

5.92
#5E6A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5E6A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6A11
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6A11#FFFFFF#000000##FFFFFF
##5E6A111.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#71641A
Tritanopia (blue-blind)
#64645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e6a11;
/* rgb */ color: rgb(94, 106, 17);
/* oklch */ color: oklch(49.7% 0.108 117.5);
Tailwind
colors: {
  custom: {
    50: '#8f9459',
    500: '#5e6a11',
    950: '#000000',
  },
}
SCSS
$custom: #5e6a11;
$custom-light: #8f9459;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6a11",
  "rgb": {
    "r": 94,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 68.09,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.10812,
    "h": 117.5
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#5E6A11
secondary
#4435A2
accent
#39EF51
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6A11

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

Preview Lab → · Contrast checker → · Palette generator →

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