#5C7612#5C7612

#5C7612 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.124 H 124.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5C7612
RGBrgb(92, 118, 18)
HSLhsl(76, 74%, 27%)
HSVhsv(76, 85%, 46%)
CMYKcmyk(22%, 0%, 84.7%, 53.7%)
CIE-LABlab(46.01, -23.61, 46.90)
CIE-LCHlch(46.01, 52.51, 116.72°)
OKLaboklab(52.66% -0.0692 0.1023)
OKLCHoklch(52.66% 0.124 124.1)
XYZxyz(11.0014, 15.2757, 2.9411)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7612 #2C1276
analogous
#765E12 #5C7612 #2A7612
triadic
#5C7612 #125C76 #76125C
tetradic
#5C7612 #12765E #2C1276 #76122A
square
#5C7612 #12765E #2C1276 #76122A
split-complementary
#5C7612 #122A76 #5E1276
monochromatic
#151B04 #33410A #5C7612 #85AB1A #AEDE25

Accessibility & contrast

On white

5.18
#5C7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5C7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7612
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7612#FFFFFF#000000##FFFFFF
##5C76121.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7A6D1D
Tritanopia (blue-blind)
#617064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c7612;
/* rgb */ color: rgb(92, 118, 18);
/* oklch */ color: oklch(52.7% 0.124 124.1);
Tailwind
colors: {
  custom: {
    50: '#8e9d5b',
    500: '#5c7612',
    950: '#000000',
  },
}
SCSS
$custom: #5c7612;
$custom-light: #8e9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7612",
  "rgb": {
    "r": 92,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 75.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52657,
    "c": 0.12353,
    "h": 124.1
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#5C7612
secondary
#5637AD
accent
#38F068
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7612

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

Preview Lab → · Contrast checker → · Palette generator →

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