#5C6512#5C6512

#5C6512 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.102 H 115.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5C6512
RGBrgb(92, 101, 18)
HSLhsl(67, 70%, 23%)
HSVhsv(67, 82%, 40%)
CMYKcmyk(8.9%, 0%, 82.2%, 60.4%)
CIE-LABlab(40.62, -14.66, 42.07)
CIE-LCHlch(40.62, 44.55, 109.21°)
OKLaboklab(48.31% -0.0447 0.092)
OKLCHoklch(48.31% 0.102 115.9)
XYZxyz(9.1767, 11.6265, 2.3329)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6512 #1B1265
analogous
#654412 #5C6512 #326512
triadic
#5C6512 #125C65 #65125C
tetradic
#5C6512 #126544 #1B1265 #651232
square
#5C6512 #126544 #1B1265 #651232
split-complementary
#5C6512 #123265 #441265
monochromatic
#181A05 #2D3109 #5C6512 #8B991B #BBCD25

Accessibility & contrast

On white

6.32
#5C6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5C6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6512
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6512#FFFFFF#000000##FFFFFF
##5C65121.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#625F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c6512;
/* rgb */ color: rgb(92, 101, 18);
/* oklch */ color: oklch(48.3% 0.102 115.9);
Tailwind
colors: {
  custom: {
    50: '#8d9058',
    500: '#5c6512',
    950: '#000000',
  },
}
SCSS
$custom: #5c6512;
$custom-light: #8d9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6512",
  "rgb": {
    "r": 92,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 66.506,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48306,
    "c": 0.10231,
    "h": 115.9
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#5C6512
secondary
#41369D
accent
#3BED4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6512

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

Preview Lab → · Contrast checker → · Palette generator →

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