#5C6E12#5C6E12

#5C6E12 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.6% C 0.113 H 120.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5C6E12
RGBrgb(92, 110, 18)
HSLhsl(72, 72%, 25%)
HSVhsv(72, 84%, 43%)
CMYKcmyk(16.4%, 0%, 83.6%, 56.9%)
CIE-LABlab(43.46, -19.49, 44.64)
CIE-LCHlch(43.46, 48.71, 113.59°)
OKLaboklab(50.6% -0.058 0.0975)
OKLCHoklch(50.6% 0.113 120.7)
XYZxyz(10.0989, 13.4709, 2.6403)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6E12 #24126E
analogous
#6E5212 #5C6E12 #2E6E12
triadic
#5C6E12 #125C6E #6E125C
tetradic
#5C6E12 #126E52 #24126E #6E122E
square
#5C6E12 #126E52 #24126E #6E122E
split-complementary
#5C6E12 #122E6E #52126E
monochromatic
#161A04 #303909 #5C6E12 #88A31B #B4D723

Accessibility & contrast

On white

5.68
#5C6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5C6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6E12
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6E12#FFFFFF#000000##FFFFFF
##5C6E121.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#62685D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c6e12;
/* rgb */ color: rgb(92, 110, 18);
/* oklch */ color: oklch(50.6% 0.113 120.7);
Tailwind
colors: {
  custom: {
    50: '#8d975a',
    500: '#5c6e12',
    950: '#000000',
  },
}
SCSS
$custom: #5c6e12;
$custom-light: #8d975a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6e12",
  "rgb": {
    "r": 92,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 71.739,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50599,
    "c": 0.11343,
    "h": 120.7
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#5C6E12
secondary
#4C37A5
accent
#39EF5D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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