#5C6412#5C6412

#5C6412 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.101 H 115.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5C6412
RGBrgb(92, 100, 18)
HSLhsl(66, 69%, 23%)
HSVhsv(66, 82%, 39%)
CMYKcmyk(8%, 0%, 82%, 60.8%)
CIE-LABlab(40.30, -14.11, 41.78)
CIE-LCHlch(40.30, 44.10, 108.66°)
OKLaboklab(48.05% -0.0432 0.0914)
OKLCHoklch(48.05% 0.101 115.3)
XYZxyz(9.0802, 11.4335, 2.3007)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6412 #1A1264
analogous
#644312 #5C6412 #336412
triadic
#5C6412 #125C64 #64125C
tetradic
#5C6412 #126443 #1A1264 #641233
square
#5C6412 #126443 #1A1264 #641233
split-complementary
#5C6412 #123364 #431264
monochromatic
#181A05 #2C3009 #5C6412 #8C981B #BBCC25

Accessibility & contrast

On white

6.39
#5C6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5C6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6412
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6412#FFFFFF#000000##FFFFFF
##5C64121.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#6B601A
Tritanopia (blue-blind)
#635E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5c6412;
/* rgb */ color: rgb(92, 100, 18);
/* oklch */ color: oklch(48.1% 0.101 115.3);
Tailwind
colors: {
  custom: {
    50: '#8d9058',
    500: '#5c6412',
    950: '#000000',
  },
}
SCSS
$custom: #5c6412;
$custom-light: #8d9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6412",
  "rgb": {
    "r": 92,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 65.854,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48053,
    "c": 0.1011,
    "h": 115.3
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#5C6412
secondary
#40369C
accent
#3BEC4D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6412

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

Preview Lab → · Contrast checker → · Palette generator →

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