#5E5D12#5E5D12

#5E5D12 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.5% C 0.092 H 108.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5E5D12
RGBrgb(94, 93, 18)
HSLhsl(59, 68%, 22%)
HSVhsv(59, 81%, 37%)
CMYKcmyk(0%, 1.1%, 80.9%, 63.1%)
CIE-LABlab(38.29, -9.20, 40.01)
CIE-LCHlch(38.29, 41.05, 102.95°)
OKLaboklab(46.49% -0.0297 0.0876)
OKLCHoklch(46.49% 0.092 108.7)
XYZxyz(8.6400, 10.2523, 2.0959)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5D12 #12135E
analogous
#5E3712 #5E5D12 #395E12
triadic
#5E5D12 #125E5D #5D125E
tetradic
#5E5D12 #125E37 #12135E #5E1239
square
#5E5D12 #125E37 #12135E #5E1239
split-complementary
#5E5D12 #12395E #37125E
monochromatic
#1A1905 #2B2A08 #5E5D12 #91901C #C5C326

Accessibility & contrast

On white

6.88
#5E5D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E5D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5D12
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5D12#FFFFFF#000000##FFFFFF
##5E5D121.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655902
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#65564F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5d12;
/* rgb */ color: rgb(94, 93, 18);
/* oklch */ color: oklch(46.5% 0.092 108.7);
Tailwind
colors: {
  custom: {
    50: '#8e8a57',
    500: '#5e5d12',
    950: '#000000',
  },
}
SCSS
$custom: #5e5d12;
$custom-light: #8e8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5d12",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 59.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.09245,
    "h": 108.7
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#5E5D12
secondary
#353796
accent
#3FEB3D
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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