#5D5F12#5D5F12

#5D5F12 is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.9% C 0.095 H 111.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5D5F12
RGBrgb(93, 95, 18)
HSLhsl(62, 68%, 22%)
HSVhsv(62, 81%, 37%)
CMYKcmyk(2.1%, 0%, 81.1%, 62.7%)
CIE-LABlab(38.82, -10.83, 40.46)
CIE-LCHlch(38.82, 41.88, 104.98°)
OKLaboklab(46.89% -0.0341 0.0886)
OKLCHoklch(46.89% 0.095 111.1)
XYZxyz(8.7159, 10.5555, 2.1504)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5F12 #14125F
analogous
#5F3A12 #5D5F12 #375F12
triadic
#5D5F12 #125D5F #5F125D
tetradic
#5D5F12 #125F3A #14125F #5F1237
square
#5D5F12 #125F3A #14125F #5F1237
split-complementary
#5D5F12 #12375F #3A125F
monochromatic
#191A05 #2B2C08 #5D5F12 #8F921C #C2C625

Accessibility & contrast

On white

6.75
#5D5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D5F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5F12
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5F12#FFFFFF#000000##FFFFFF
##5D5F121.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#685C19
Tritanopia (blue-blind)
#645951
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5f12;
/* rgb */ color: rgb(93, 95, 18);
/* oklch */ color: oklch(46.9% 0.095 111.1);
Tailwind
colors: {
  custom: {
    50: '#8e8c57',
    500: '#5d5f12',
    950: '#000000',
  },
}
SCSS
$custom: #5d5f12;
$custom-light: #8e8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5f12",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 61.558,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.09492,
    "h": 111.1
  },
  "luminance": 0.10555
}

Semantic roles & 50–950 ramp

primary
#5D5F12
secondary
#383697
accent
#3DEB41
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5D5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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