#5D6813#5D6813

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

Color values

HEX#5D6813
RGBrgb(93, 104, 19)
HSLhsl(68, 69%, 24%)
HSVhsv(68, 82%, 41%)
CMYKcmyk(10.6%, 0%, 81.7%, 59.2%)
CIE-LABlab(41.65, -15.78, 42.70)
CIE-LCHlch(41.65, 45.52, 110.28°)
OKLaboklab(49.16% -0.0478 0.0935)
OKLCHoklch(49.16% 0.105 117.1)
XYZxyz(9.5823, 12.2749, 2.4805)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6813 #1E1368
analogous
#684913 #5D6813 #336813
triadic
#5D6813 #135D68 #68135D
tetradic
#5D6813 #136849 #1E1368 #681333
square
#5D6813 #136849 #1E1368 #681333
split-complementary
#5D6813 #133368 #491368
monochromatic
#171A05 #2F340A #5D6813 #8B9C1C #BACF26

Accessibility & contrast

On white

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

On black

3.46
#5D6813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D6813#FFFFFF#000000##FFFFFF
##5D68131.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d6813;
/* rgb */ color: rgb(93, 104, 19);
/* oklch */ color: oklch(49.2% 0.105 117.1);
Tailwind
colors: {
  custom: {
    50: '#8e9359',
    500: '#5d6813',
    950: '#000000',
  },
}
SCSS
$custom: #5d6813;
$custom-light: #8e9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6813",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 67.765,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49159,
    "c": 0.10503,
    "h": 117.1
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#5D6813
secondary
#45379F
accent
#3CEC53
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6813

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

Preview Lab → · Contrast checker → · Palette generator →

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