#5D6B15#5D6B15

#5D6B15 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 49.9% C 0.108 H 118.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5D6B15
RGBrgb(93, 107, 21)
HSLhsl(70, 67%, 25%)
HSVhsv(70, 80%, 42%)
CMYKcmyk(13.1%, 0%, 80.4%, 58%)
CIE-LABlab(42.61, -17.31, 42.89)
CIE-LCHlch(42.61, 46.25, 111.97°)
OKLaboklab(49.93% -0.0518 0.0943)
OKLCHoklch(49.93% 0.108 118.8)
XYZxyz(9.9075, 12.8968, 2.6767)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6B15 #23156B
analogous
#6B4E15 #5D6B15 #326B15
triadic
#5D6B15 #155D6B #6B155D
tetradic
#5D6B15 #156B4E #23156B #6B1532
square
#5D6B15 #156B4E #23156B #6B1532
split-complementary
#5D6B15 #15326B #4E156B
monochromatic
#161A05 #31380B #5D6B15 #899E1F #B6D129

Accessibility & contrast

On white

5.87
#5D6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5D6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6B15
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6B15#FFFFFF#000000##FFFFFF
##5D6B151.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736501
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#63655B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d6b15;
/* rgb */ color: rgb(93, 107, 21);
/* oklch */ color: oklch(49.9% 0.108 118.8);
Tailwind
colors: {
  custom: {
    50: '#8e955a',
    500: '#5d6b15',
    950: '#000000',
  },
}
SCSS
$custom: #5d6b15;
$custom-light: #8e955a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6b15",
  "rgb": {
    "r": 93,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 69.767,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49933,
    "c": 0.10761,
    "h": 118.8
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#5D6B15
secondary
#4B3AA2
accent
#3EEA5A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5D6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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