#5D6423#5D6423

#5D6423 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.088 H 114.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5D6423
RGBrgb(93, 100, 35)
HSLhsl(66, 48%, 26%)
HSVhsv(66, 65%, 39%)
CMYKcmyk(7%, 0%, 65%, 60.8%)
CIE-LABlab(40.51, -12.57, 34.91)
CIE-LCHlch(40.51, 37.10, 109.81°)
OKLaboklab(48.28% -0.0372 0.0799)
OKLCHoklch(48.28% 0.088 114.9)
XYZxyz(9.3750, 11.5630, 3.3278)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6423 #2A2364
analogous
#644B23 #5D6423 #3D6423
triadic
#5D6423 #235D64 #64235D
tetradic
#5D6423 #23644B #2A2364 #64233D
square
#5D6423 #23644B #2A2364 #64233D
split-complementary
#5D6423 #233D64 #4B2364
monochromatic
#151708 #333713 #5D6423 #879133 #B0BE44

Accessibility & contrast

On white

6.34
#5D6423 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5D6423 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6423
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6423#FFFFFF#000000##FFFFFF
##5D64231.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1B
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#635E56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d6423;
/* rgb */ color: rgb(93, 100, 35);
/* oklch */ color: oklch(48.3% 0.088 114.9);
Tailwind
colors: {
  custom: {
    50: '#8d9061',
    500: '#5d6423',
    950: '#000000',
  },
}
SCSS
$custom: #5d6423;
$custom-light: #8d9061;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6423",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 35
  },
  "hsl": {
    "h": 66.462,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48284,
    "c": 0.08815,
    "h": 114.9
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#5D6423
secondary
#534B98
accent
#50D85F
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5D6423

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

Preview Lab → · Contrast checker → · Palette generator →

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