#5E5F12#5E5F12

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

Color values

HEX#5E5F12
RGBrgb(94, 95, 18)
HSLhsl(61, 68%, 22%)
HSVhsv(61, 81%, 37%)
CMYKcmyk(1.1%, 0%, 81.1%, 62.7%)
CIE-LABlab(38.91, -10.34, 40.58)
CIE-LCHlch(38.91, 41.87, 104.30°)
OKLaboklab(46.98% -0.0329 0.0888)
OKLCHoklch(46.98% 0.095 110.3)
XYZxyz(8.8178, 10.6080, 2.1552)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5F12 #13125F
analogous
#5F3A12 #5E5F12 #385F12
triadic
#5E5F12 #125E5F #5F125E
tetradic
#5E5F12 #125F3A #13125F #5F1238
square
#5E5F12 #125F3A #13125F #5F1238
split-complementary
#5E5F12 #12385F #3A125F
monochromatic
#191A05 #2B2C08 #5E5F12 #91921C #C4C625

Accessibility & contrast

On white

6.73
#5E5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5E5F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5F12
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5F12#FFFFFF#000000##FFFFFF
##5E5F121.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A01
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#655851
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e5f12;
/* rgb */ color: rgb(94, 95, 18);
/* oklch */ color: oklch(47.0% 0.095 110.3);
Tailwind
colors: {
  custom: {
    50: '#8e8c57',
    500: '#5e5f12',
    950: '#000000',
  },
}
SCSS
$custom: #5e5f12;
$custom-light: #8e8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5f12",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 60.779,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46984,
    "c": 0.09466,
    "h": 110.3
  },
  "luminance": 0.10608
}

Semantic roles & 50–950 ramp

primary
#5E5F12
secondary
#373697
accent
#3DEB3F
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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