#5E6911#5E6911

#5E6911 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.5% C 0.107 H 116.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E6911
RGBrgb(94, 105, 17)
HSLhsl(68, 72%, 24%)
HSVhsv(68, 84%, 41%)
CMYKcmyk(10.5%, 0%, 83.8%, 58.8%)
CIE-LABlab(42.04, -15.94, 43.73)
CIE-LCHlch(42.04, 46.55, 110.03°)
OKLaboklab(49.49% -0.0484 0.0953)
OKLCHoklch(49.49% 0.107 116.9)
XYZxyz(9.7691, 12.5234, 2.4328)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6911 #1C1169
analogous
#694811 #5E6911 #326911
triadic
#5E6911 #115E69 #69115E
tetradic
#5E6911 #116948 #1C1169 #691132
square
#5E6911 #116948 #1C1169 #691132
split-complementary
#5E6911 #113269 #481169
monochromatic
#181A04 #2F3408 #5E6911 #8D9E1A #BCD222

Accessibility & contrast

On white

5.99
#5E6911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5E6911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6911
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6911#FFFFFF#000000##FFFFFF
##5E69111.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#70641A
Tritanopia (blue-blind)
#646359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e6911;
/* rgb */ color: rgb(94, 105, 17);
/* oklch */ color: oklch(49.5% 0.107 116.9);
Tailwind
colors: {
  custom: {
    50: '#8f9358',
    500: '#5e6911',
    950: '#000000',
  },
}
SCSS
$custom: #5e6911;
$custom-light: #8f9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6911",
  "rgb": {
    "r": 94,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 67.5,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.10691,
    "h": 116.9
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#5E6911
secondary
#4235A1
accent
#39EF50
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6911

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

Preview Lab → · Contrast checker → · Palette generator →

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