#5D6810#5D6810

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

Color values

HEX#5D6810
RGBrgb(93, 104, 16)
HSLhsl(68, 73%, 24%)
HSVhsv(68, 85%, 41%)
CMYKcmyk(10.6%, 0%, 84.6%, 59.2%)
CIE-LABlab(41.63, -15.91, 43.65)
CIE-LCHlch(41.63, 46.46, 110.03°)
OKLaboklab(49.14% -0.0484 0.095)
OKLCHoklch(49.14% 0.107 117)
XYZxyz(9.5583, 12.2653, 2.3540)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6810 #1B1068
analogous
#684710 #5D6810 #316810
triadic
#5D6810 #105D68 #68105D
tetradic
#5D6810 #106847 #1B1068 #681031
square
#5D6810 #106847 #1B1068 #681031
split-complementary
#5D6810 #103168 #471068
monochromatic
#181B04 #2E3308 #5D6810 #8C9D18 #BCD220

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D6810#FFFFFF#000000##FFFFFF
##5D68101.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)
#6F6319
Tritanopia (blue-blind)
#636258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d6810;
/* rgb */ color: rgb(93, 104, 16);
/* oklch */ color: oklch(49.1% 0.107 117.0);
Tailwind
colors: {
  custom: {
    50: '#8e9358',
    500: '#5d6810',
    950: '#000000',
  },
}
SCSS
$custom: #5d6810;
$custom-light: #8e9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6810",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 67.5,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.10659,
    "h": 117
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#5D6810
secondary
#4134A0
accent
#38F04F
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D6810

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

Preview Lab → · Contrast checker → · Palette generator →

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