#5D6913#5D6913

#5D6913 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.4% C 0.106 H 117.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5D6913
RGBrgb(93, 105, 19)
HSLhsl(68, 69%, 24%)
HSVhsv(68, 82%, 41%)
CMYKcmyk(11.4%, 0%, 81.9%, 58.8%)
CIE-LABlab(41.97, -16.32, 42.99)
CIE-LCHlch(41.97, 45.98, 110.79°)
OKLaboklab(49.41% -0.0493 0.0941)
OKLCHoklch(49.41% 0.106 117.6)
XYZxyz(9.6836, 12.4774, 2.5142)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6913 #1F1369
analogous
#694A13 #5D6913 #326913
triadic
#5D6913 #135D69 #69135D
tetradic
#5D6913 #13694A #1F1369 #691332
square
#5D6913 #13694A #1F1369 #691332
split-complementary
#5D6913 #133269 #4A1369
monochromatic
#171A05 #2F350A #5D6913 #8B9D1C #B9D126

Accessibility & contrast

On white

6.01
#5D6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5D6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6913
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6913#FFFFFF#000000##FFFFFF
##5D69131.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#636359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d6913;
/* rgb */ color: rgb(93, 105, 19);
/* oklch */ color: oklch(49.4% 0.106 117.6);
Tailwind
colors: {
  custom: {
    50: '#8e9359',
    500: '#5d6913',
    950: '#000000',
  },
}
SCSS
$custom: #5d6913;
$custom-light: #8e9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6913",
  "rgb": {
    "r": 93,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 68.372,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.10625,
    "h": 117.6
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#5D6913
secondary
#4638A0
accent
#3CEC54
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6913

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

Preview Lab → · Contrast checker → · Palette generator →

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