#5C6D12#5C6D12

#5C6D12 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.3% C 0.112 H 120.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5C6D12
RGBrgb(92, 109, 18)
HSLhsl(71, 72%, 25%)
HSVhsv(71, 83%, 43%)
CMYKcmyk(15.6%, 0%, 83.5%, 57.3%)
CIE-LABlab(43.15, -18.97, 44.35)
CIE-LCHlch(43.15, 48.24, 113.15°)
OKLaboklab(50.34% -0.0565 0.0969)
OKLCHoklch(50.34% 0.112 120.3)
XYZxyz(9.9917, 13.2563, 2.6045)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6D12 #23126D
analogous
#6D5112 #5C6D12 #2E6D12
triadic
#5C6D12 #125C6D #6D125C
tetradic
#5C6D12 #126D51 #23126D #6D122E
square
#5C6D12 #126D51 #23126D #6D122E
split-complementary
#5C6D12 #122E6D #51126D
monochromatic
#161A04 #303809 #5C6D12 #88A21B #B5D623

Accessibility & contrast

On white

5.75
#5C6D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5C6D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6D12
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6D12#FFFFFF#000000##FFFFFF
##5C6D121.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#62675C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5c6d12;
/* rgb */ color: rgb(92, 109, 18);
/* oklch */ color: oklch(50.3% 0.112 120.3);
Tailwind
colors: {
  custom: {
    50: '#8d9659',
    500: '#5c6d12',
    950: '#000000',
  },
}
SCSS
$custom: #5c6d12;
$custom-light: #8d9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6d12",
  "rgb": {
    "r": 92,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 71.209,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.11218,
    "h": 120.3
  },
  "luminance": 0.13256
}

Semantic roles & 50–950 ramp

primary
#5C6D12
secondary
#4B37A4
accent
#39EE5B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C6D12

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

Preview Lab → · Contrast checker → · Palette generator →

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