#5C6312#5C6312

#5C6312 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.8% C 0.100 H 114.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5C6312
RGBrgb(92, 99, 18)
HSLhsl(65, 69%, 23%)
HSVhsv(65, 82%, 39%)
CMYKcmyk(7.1%, 0%, 81.8%, 61.2%)
CIE-LABlab(39.99, -13.55, 41.49)
CIE-LCHlch(39.99, 43.65, 108.09°)
OKLaboklab(47.8% -0.0416 0.0908)
OKLCHoklch(47.8% 0.1 114.6)
XYZxyz(8.9849, 11.2428, 2.2689)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6312 #191263
analogous
#634112 #5C6312 #336312
triadic
#5C6312 #125C63 #63125C
tetradic
#5C6312 #126341 #191263 #631233
square
#5C6312 #126341 #191263 #631233
split-complementary
#5C6312 #123363 #411263
monochromatic
#181A05 #2C2F09 #5C6312 #8C971B #BCCB25

Accessibility & contrast

On white

6.46
#5C6312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5C6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6312
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6312#FFFFFF#000000##FFFFFF
##5C63121.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6A5F19
Tritanopia (blue-blind)
#635D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c6312;
/* rgb */ color: rgb(92, 99, 18);
/* oklch */ color: oklch(47.8% 0.100 114.6);
Tailwind
colors: {
  custom: {
    50: '#8d8f58',
    500: '#5c6312',
    950: '#000000',
  },
}
SCSS
$custom: #5c6312;
$custom-light: #8d8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6312",
  "rgb": {
    "r": 92,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 65.185,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.478,
    "c": 0.0999,
    "h": 114.6
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#5C6312
secondary
#3F369B
accent
#3CEC4B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6312

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

Preview Lab → · Contrast checker → · Palette generator →

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