#5D6914#5D6914

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

Color values

HEX#5D6914
RGBrgb(93, 105, 20)
HSLhsl(68, 68%, 25%)
HSVhsv(68, 81%, 41%)
CMYKcmyk(11.4%, 0%, 81%, 58.8%)
CIE-LABlab(41.97, -16.28, 42.65)
CIE-LCHlch(41.97, 45.65, 110.89°)
OKLaboklab(49.42% -0.0491 0.0936)
OKLCHoklch(49.42% 0.106 117.7)
XYZxyz(9.6923, 12.4809, 2.5602)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6914 #201469
analogous
#694B14 #5D6914 #326914
triadic
#5D6914 #145D69 #69145D
tetradic
#5D6914 #14694B #201469 #691432
square
#5D6914 #14694B #201469 #691432
split-complementary
#5D6914 #143269 #4B1469
monochromatic
#171A05 #2F360A #5D6914 #8B9C1E #B8D028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D6914#FFFFFF#000000##FFFFFF
##5D69141.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)
#6F631C
Tritanopia (blue-blind)
#636359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d6914;
/* rgb */ color: rgb(93, 105, 20);
/* oklch */ color: oklch(49.4% 0.106 117.7);
Tailwind
colors: {
  custom: {
    50: '#8e935a',
    500: '#5d6914',
    950: '#000000',
  },
}
SCSS
$custom: #5d6914;
$custom-light: #8e935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6914",
  "rgb": {
    "r": 93,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 68.471,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49418,
    "c": 0.1057,
    "h": 117.7
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#5D6914
secondary
#4739A0
accent
#3DEB55
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6914

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

Preview Lab → · Contrast checker → · Palette generator →

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