#5C6F12#5C6F12

#5C6F12 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.9% C 0.115 H 121.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5C6F12
RGBrgb(92, 111, 18)
HSLhsl(72, 72%, 25%)
HSVhsv(72, 84%, 44%)
CMYKcmyk(17.1%, 0%, 83.8%, 56.5%)
CIE-LABlab(43.78, -20.02, 44.92)
CIE-LCHlch(43.78, 49.18, 114.02°)
OKLaboklab(50.86% -0.0594 0.0981)
OKLCHoklch(50.86% 0.115 121.2)
XYZxyz(10.2074, 13.6879, 2.6764)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6F12 #25126F
analogous
#6F5312 #5C6F12 #2D6F12
triadic
#5C6F12 #125C6F #6F125C
tetradic
#5C6F12 #126F53 #25126F #6F122D
square
#5C6F12 #126F53 #25126F #6F122D
split-complementary
#5C6F12 #122D6F #53126F
monochromatic
#161A04 #303A09 #5C6F12 #88A41B #B3D823

Accessibility & contrast

On white

5.62
#5C6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5C6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6F12
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6F12#FFFFFF#000000##FFFFFF
##5C6F121.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#62695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c6f12;
/* rgb */ color: rgb(92, 111, 18);
/* oklch */ color: oklch(50.9% 0.115 121.2);
Tailwind
colors: {
  custom: {
    50: '#8d985a',
    500: '#5c6f12',
    950: '#000000',
  },
}
SCSS
$custom: #5c6f12;
$custom-light: #8d985a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6f12",
  "rgb": {
    "r": 92,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 72.258,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50855,
    "c": 0.11469,
    "h": 121.2
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#5C6F12
secondary
#4D37A6
accent
#39EF5E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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