#5E6211#5E6211

#5E6211 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.7% C 0.099 H 112.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5E6211
RGBrgb(94, 98, 17)
HSLhsl(63, 70%, 23%)
HSVhsv(63, 83%, 38%)
CMYKcmyk(4.1%, 0%, 82.7%, 61.6%)
CIE-LABlab(39.84, -12.08, 41.76)
CIE-LCHlch(39.84, 43.48, 106.13°)
OKLaboklab(47.73% -0.0378 0.0911)
OKLCHoklch(47.73% 0.099 112.5)
XYZxyz(9.0853, 11.1557, 2.2049)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6211 #151162
analogous
#623E11 #5E6211 #356211
triadic
#5E6211 #115E62 #62115E
tetradic
#5E6211 #11623E #151162 #621135
square
#5E6211 #11623E #151162 #621135
split-complementary
#5E6211 #113562 #3E1162
monochromatic
#191A05 #2C2E08 #5E6211 #90961A #C2CA23

Accessibility & contrast

On white

6.50
#5E6211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5E6211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6211
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6211#FFFFFF#000000##FFFFFF
##5E62111.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#6A5F18
Tritanopia (blue-blind)
#655B53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e6211;
/* rgb */ color: rgb(94, 98, 17);
/* oklch */ color: oklch(47.7% 0.099 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8e57',
    500: '#5e6211',
    950: '#000000',
  },
}
SCSS
$custom: #5e6211;
$custom-light: #8f8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6211",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 62.963,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.09863,
    "h": 112.5
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#5E6211
secondary
#39349A
accent
#3BED43
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E6211

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

Preview Lab → · Contrast checker → · Palette generator →

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