#5C6912#5C6912

#5C6912 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.3% C 0.107 H 118.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5C6912
RGBrgb(92, 105, 18)
HSLhsl(69, 71%, 24%)
HSVhsv(69, 83%, 41%)
CMYKcmyk(12.4%, 0%, 82.9%, 58.8%)
CIE-LABlab(41.88, -16.83, 43.21)
CIE-LCHlch(41.88, 46.37, 111.28°)
OKLaboklab(49.32% -0.0507 0.0945)
OKLCHoklch(49.32% 0.107 118.2)
XYZxyz(9.5746, 12.4222, 2.4655)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6912 #1F1269
analogous
#694B12 #5C6912 #306912
triadic
#5C6912 #125C69 #69125C
tetradic
#5C6912 #12694B #1F1269 #691230
square
#5C6912 #12694B #1F1269 #691230
split-complementary
#5C6912 #123069 #4B1269
monochromatic
#171A04 #2E3509 #5C6912 #8A9D1B #B8D124

Accessibility & contrast

On white

6.03
#5C6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5C6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6912
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6912#FFFFFF#000000##FFFFFF
##5C69121.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#626359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c6912;
/* rgb */ color: rgb(92, 105, 18);
/* oklch */ color: oklch(49.3% 0.107 118.2);
Tailwind
colors: {
  custom: {
    50: '#8d9359',
    500: '#5c6912',
    950: '#000000',
  },
}
SCSS
$custom: #5c6912;
$custom-light: #8d9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6912",
  "rgb": {
    "r": 92,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 68.966,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49322,
    "c": 0.10721,
    "h": 118.2
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#5C6912
secondary
#4636A1
accent
#3AED55
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C6912

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

Preview Lab → · Contrast checker → · Palette generator →

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