#5D6427#5D6427

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

Color values

HEX#5D6427
RGBrgb(93, 100, 39)
HSLhsl(67, 44%, 27%)
HSVhsv(67, 61%, 39%)
CMYKcmyk(7%, 0%, 61%, 60.8%)
CIE-LABlab(40.55, -12.23, 32.97)
CIE-LCHlch(40.55, 35.16, 110.36°)
OKLaboklab(48.33% -0.0358 0.0764)
OKLCHoklch(48.33% 0.084 115.1)
XYZxyz(9.4378, 11.5881, 3.6586)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6427 #2E2764
analogous
#644D27 #5D6427 #3F6427
triadic
#5D6427 #275D64 #64275D
tetradic
#5D6427 #27644D #2E2764 #64273F
square
#5D6427 #27644D #2E2764 #64273F
split-complementary
#5D6427 #273F64 #4D2764
monochromatic
#141609 #343816 #5D6427 #869038 #ADB94C

Accessibility & contrast

On white

6.33
#5D6427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5D6427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6427
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6427#FFFFFF#000000##FFFFFF
##5D64271.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F20
Deuteranopia (green-blind)
#6A602B
Tritanopia (blue-blind)
#635E57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d6427;
/* rgb */ color: rgb(93, 100, 39);
/* oklch */ color: oklch(48.3% 0.084 115.1);
Tailwind
colors: {
  custom: {
    50: '#8d9064',
    500: '#5d6427',
    950: '#000000',
  },
}
SCSS
$custom: #5d6427;
$custom-light: #8d9064;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6427",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 39
  },
  "hsl": {
    "h": 66.885,
    "s": 43.885,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.08434,
    "h": 115.1
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#5D6427
secondary
#585097
accent
#54D463
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C05
muted
#7D7D7A

Preview Lab

Preview with #5D6427

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

Preview Lab → · Contrast checker → · Palette generator →

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