#5D6811#5D6811

#5D6811 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.1% C 0.106 H 117.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5D6811
RGBrgb(93, 104, 17)
HSLhsl(68, 72%, 24%)
HSVhsv(68, 84%, 41%)
CMYKcmyk(10.6%, 0%, 83.7%, 59.2%)
CIE-LABlab(41.64, -15.87, 43.35)
CIE-LCHlch(41.64, 46.16, 110.11°)
OKLaboklab(49.15% -0.0482 0.0945)
OKLCHoklch(49.15% 0.106 117)
XYZxyz(9.5659, 12.2684, 2.3943)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6811 #1C1168
analogous
#684711 #5D6811 #316811
triadic
#5D6811 #115D68 #68115D
tetradic
#5D6811 #116847 #1C1168 #681131
square
#5D6811 #116847 #1C1168 #681131
split-complementary
#5D6811 #113168 #471168
monochromatic
#181A04 #2E3308 #5D6811 #8C9D1A #BBD122

Accessibility & contrast

On white

6.08
#5D6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5D6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6811
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6811#FFFFFF#000000##FFFFFF
##5D68111.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6F631A
Tritanopia (blue-blind)
#636258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d6811;
/* rgb */ color: rgb(93, 104, 17);
/* oklch */ color: oklch(49.1% 0.106 117.0);
Tailwind
colors: {
  custom: {
    50: '#8e9358',
    500: '#5d6811',
    950: '#000000',
  },
}
SCSS
$custom: #5d6811;
$custom-light: #8e9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6811",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 67.586,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49147,
    "c": 0.1061,
    "h": 117
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D6811

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

Preview Lab → · Contrast checker → · Palette generator →

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