#5C5E12#5C5E12

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

Color values

HEX#5C5E12
RGBrgb(92, 94, 18)
HSLhsl(62, 68%, 22%)
HSVhsv(62, 81%, 37%)
CMYKcmyk(2.1%, 0%, 80.9%, 63.1%)
CIE-LABlab(38.42, -10.74, 40.06)
CIE-LCHlch(38.42, 41.47, 105.01°)
OKLaboklab(46.54% -0.0339 0.0878)
OKLCHoklch(46.54% 0.094 111.1)
XYZxyz(8.5258, 10.3246, 2.1159)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5E12 #14125E
analogous
#5E3A12 #5C5E12 #365E12
triadic
#5C5E12 #125C5E #5E125C
tetradic
#5C5E12 #125E3A #14125E #5E1236
square
#5C5E12 #125E3A #14125E #5E1236
split-complementary
#5C5E12 #12365E #3A125E
monochromatic
#191A05 #2A2B08 #5C5E12 #8E911C #C1C526

Accessibility & contrast

On white

6.85
#5C5E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5C5E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5E12
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5E12#FFFFFF#000000##FFFFFF
##5C5E121.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665902
Deuteranopia (green-blind)
#675B18
Tritanopia (blue-blind)
#635850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c5e12;
/* rgb */ color: rgb(92, 94, 18);
/* oklch */ color: oklch(46.5% 0.094 111.1);
Tailwind
colors: {
  custom: {
    50: '#8d8b57',
    500: '#5c5e12',
    950: '#000000',
  },
}
SCSS
$custom: #5c5e12;
$custom-light: #8d8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5e12",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 61.579,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46544,
    "c": 0.09406,
    "h": 111.1
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#5C5E12
secondary
#383596
accent
#3DEB42
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5C5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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