#5D5E12#5D5E12

#5D5E12 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.6% C 0.094 H 110.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5D5E12
RGBrgb(93, 94, 18)
HSLhsl(61, 68%, 22%)
HSVhsv(61, 81%, 37%)
CMYKcmyk(1.1%, 0%, 80.9%, 63.1%)
CIE-LABlab(38.51, -10.26, 40.17)
CIE-LCHlch(38.51, 41.46, 104.32°)
OKLaboklab(46.64% -0.0326 0.088)
OKLCHoklch(46.64% 0.094 110.3)
XYZxyz(8.6264, 10.3765, 2.1206)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5E12 #13125E
analogous
#5E3912 #5D5E12 #375E12
triadic
#5D5E12 #125D5E #5E125D
tetradic
#5D5E12 #125E39 #13125E #5E1237
square
#5D5E12 #125E39 #13125E #5E1237
split-complementary
#5D5E12 #12375E #39125E
monochromatic
#191A05 #2A2B08 #5D5E12 #90911C #C3C526

Accessibility & contrast

On white

6.83
#5D5E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5D5E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5E12
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5E12#FFFFFF#000000##FFFFFF
##5D5E121.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#645850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5e12;
/* rgb */ color: rgb(93, 94, 18);
/* oklch */ color: oklch(46.6% 0.094 110.3);
Tailwind
colors: {
  custom: {
    50: '#8e8b57',
    500: '#5d5e12',
    950: '#000000',
  },
}
SCSS
$custom: #5d5e12;
$custom-light: #8e8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5e12",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 60.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46639,
    "c": 0.0938,
    "h": 110.3
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#5D5E12
secondary
#373596
accent
#3DEB3F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5D5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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