#5E6511#5E6511

#5E6511 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.5% C 0.102 H 114.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5E6511
RGBrgb(94, 101, 17)
HSLhsl(65, 71%, 23%)
HSVhsv(65, 83%, 40%)
CMYKcmyk(6.9%, 0%, 83.2%, 60.4%)
CIE-LABlab(40.78, -13.75, 42.61)
CIE-LCHlch(40.78, 44.77, 107.89°)
OKLaboklab(48.48% -0.0424 0.0929)
OKLCHoklch(48.48% 0.102 114.5)
XYZxyz(9.3712, 11.7277, 2.3002)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6511 #181165
analogous
#654211 #5E6511 #346511
triadic
#5E6511 #115E65 #65115E
tetradic
#5E6511 #116542 #181165 #651134
square
#5E6511 #116542 #181165 #651134
split-complementary
#5E6511 #113465 #421165
monochromatic
#181A04 #2D3108 #5E6511 #8F991A #C0CE23

Accessibility & contrast

On white

6.28
#5E6511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5E6511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6511
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6511#FFFFFF#000000##FFFFFF
##5E65111.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#655F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e6511;
/* rgb */ color: rgb(94, 101, 17);
/* oklch */ color: oklch(48.5% 0.102 114.5);
Tailwind
colors: {
  custom: {
    50: '#8f9058',
    500: '#5e6511',
    950: '#000000',
  },
}
SCSS
$custom: #5e6511;
$custom-light: #8f9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6511",
  "rgb": {
    "r": 94,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 65,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.10212,
    "h": 114.5
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#5E6511
secondary
#3D359D
accent
#3AEE49
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E6511

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

Preview Lab → · Contrast checker → · Palette generator →

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