#5E6311#5E6311

#5E6311 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.0% C 0.100 H 113.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5E6311
RGBrgb(94, 99, 17)
HSLhsl(64, 71%, 23%)
HSVhsv(64, 83%, 39%)
CMYKcmyk(5.1%, 0%, 82.8%, 61.2%)
CIE-LABlab(40.15, -12.64, 42.05)
CIE-LCHlch(40.15, 43.91, 106.73°)
OKLaboklab(47.98% -0.0393 0.0917)
OKLCHoklch(47.98% 0.1 113.2)
XYZxyz(9.1794, 11.3440, 2.2363)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6311 #161163
analogous
#633F11 #5E6311 #356311
triadic
#5E6311 #115E63 #63115E
tetradic
#5E6311 #11633F #161163 #631135
square
#5E6311 #11633F #161163 #631135
split-complementary
#5E6311 #113563 #3F1163
monochromatic
#191A04 #2C2F08 #5E6311 #90971A #C1CB23

Accessibility & contrast

On white

6.42
#5E6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5E6311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6311
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6311#FFFFFF#000000##FFFFFF
##5E63111.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6B5F19
Tritanopia (blue-blind)
#655C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e6311;
/* rgb */ color: rgb(94, 99, 17);
/* oklch */ color: oklch(48.0% 0.100 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f8f57',
    500: '#5e6311',
    950: '#000000',
  },
}
SCSS
$custom: #5e6311;
$custom-light: #8f8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6311",
  "rgb": {
    "r": 94,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 63.659,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.09978,
    "h": 113.2
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#5E6311
secondary
#3B349B
accent
#3AED45
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E6311

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

Preview Lab → · Contrast checker → · Palette generator →

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