#5D6A11#5D6A11

#5D6A11 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.7% C 0.109 H 118.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5D6A11
RGBrgb(93, 106, 17)
HSLhsl(69, 72%, 24%)
HSVhsv(69, 84%, 42%)
CMYKcmyk(12.3%, 0%, 84%, 58.4%)
CIE-LABlab(42.27, -16.95, 43.91)
CIE-LCHlch(42.27, 47.07, 111.11°)
OKLaboklab(49.66% -0.0512 0.0957)
OKLCHoklch(49.66% 0.109 118.1)
XYZxyz(9.7697, 12.6758, 2.4622)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6A11 #1E116A
analogous
#6A4B11 #5D6A11 #316A11
triadic
#5D6A11 #115D6A #6A115D
tetradic
#5D6A11 #116A4B #1E116A #6A1131
square
#5D6A11 #116A4B #1E116A #6A1131
split-complementary
#5D6A11 #11316A #4B116A
monochromatic
#171A04 #2F3509 #5D6A11 #8B9F19 #BAD322

Accessibility & contrast

On white

5.94
#5D6A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5D6A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6A11
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6A11#FFFFFF#000000##FFFFFF
##5D6A111.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#70641A
Tritanopia (blue-blind)
#63645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d6a11;
/* rgb */ color: rgb(93, 106, 17);
/* oklch */ color: oklch(49.7% 0.109 118.1);
Tailwind
colors: {
  custom: {
    50: '#8e9459',
    500: '#5d6a11',
    950: '#000000',
  },
}
SCSS
$custom: #5d6a11;
$custom-light: #8e9459;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6a11",
  "rgb": {
    "r": 93,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 68.764,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.10853,
    "h": 118.1
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#5D6A11
secondary
#4535A2
accent
#39EF53
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D6A11

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

Preview Lab → · Contrast checker → · Palette generator →

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