#5D6918#5D6918

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

Color values

HEX#5D6918
RGBrgb(93, 105, 24)
HSLhsl(69, 63%, 25%)
HSVhsv(69, 77%, 41%)
CMYKcmyk(11.4%, 0%, 77.1%, 58.8%)
CIE-LABlab(41.99, -16.07, 41.22)
CIE-LCHlch(41.99, 44.24, 111.30°)
OKLaboklab(49.45% -0.0481 0.0913)
OKLCHoklch(49.45% 0.103 117.8)
XYZxyz(9.7309, 12.4964, 2.7634)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6918 #241869
analogous
#694C18 #5D6918 #346918
triadic
#5D6918 #185D69 #69185D
tetradic
#5D6918 #18694C #241869 #691834
square
#5D6918 #18694C #241869 #691834
split-complementary
#5D6918 #183469 #4C1869
monochromatic
#161906 #31370D #5D6918 #899B23 #B5CD2F

Accessibility & contrast

On white

6.00
#5D6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D6918
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6918#FFFFFF#000000##FFFFFF
##5D69181.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d6918;
/* rgb */ color: rgb(93, 105, 24);
/* oklch */ color: oklch(49.4% 0.103 117.8);
Tailwind
colors: {
  custom: {
    50: '#8e935c',
    500: '#5d6918',
    950: '#000000',
  },
}
SCSS
$custom: #5d6918;
$custom-light: #8e935c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6918",
  "rgb": {
    "r": 93,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 68.889,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49445,
    "c": 0.10324,
    "h": 117.8
  },
  "luminance": 0.12496
}

Semantic roles & 50–950 ramp

primary
#5D6918
secondary
#4C3E9F
accent
#42E65A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6918

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

Preview Lab → · Contrast checker → · Palette generator →

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