#5D6818#5D6818

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

Color values

HEX#5D6818
RGBrgb(93, 104, 24)
HSLhsl(68, 63%, 25%)
HSVhsv(68, 77%, 41%)
CMYKcmyk(10.6%, 0%, 76.9%, 59.2%)
CIE-LABlab(41.68, -15.53, 40.91)
CIE-LCHlch(41.68, 43.76, 110.78°)
OKLaboklab(49.19% -0.0466 0.0907)
OKLCHoklch(49.19% 0.102 117.2)
XYZxyz(9.6296, 12.2938, 2.7296)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6818 #231868
analogous
#684B18 #5D6818 #356818
triadic
#5D6818 #185D68 #68185D
tetradic
#5D6818 #18684B #231868 #681835
square
#5D6818 #18684B #231868 #681835
split-complementary
#5D6818 #183568 #4B1868
monochromatic
#161906 #31360D #5D6818 #899A23 #B6CB2F

Accessibility & contrast

On white

6.07
#5D6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D6818
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6818#FFFFFF#000000##FFFFFF
##5D68181.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706208
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#636259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d6818;
/* rgb */ color: rgb(93, 104, 24);
/* oklch */ color: oklch(49.2% 0.102 117.2);
Tailwind
colors: {
  custom: {
    50: '#8e935b',
    500: '#5d6818',
    950: '#000000',
  },
}
SCSS
$custom: #5d6818;
$custom-light: #8e935b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6818",
  "rgb": {
    "r": 93,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 68.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.10198,
    "h": 117.2
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#5D6818
secondary
#4B3E9E
accent
#42E659
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6818

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

Preview Lab → · Contrast checker → · Palette generator →

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