#5C7211#5C7211

#5C7211 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.119 H 122.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5C7211
RGBrgb(92, 114, 17)
HSLhsl(74, 74%, 26%)
HSVhsv(74, 85%, 45%)
CMYKcmyk(19.3%, 0%, 85.1%, 55.3%)
CIE-LABlab(44.73, -21.61, 46.06)
CIE-LCHlch(44.73, 50.88, 115.14°)
OKLaboklab(51.62% -0.0639 0.1004)
OKLCHoklch(51.62% 0.119 122.5)
XYZxyz(10.5323, 14.3504, 2.7452)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7211 #271172
analogous
#725711 #5C7211 #2B7211
triadic
#5C7211 #115C72 #72115C
tetradic
#5C7211 #117257 #271172 #72112B
square
#5C7211 #117257 #271172 #72112B
split-complementary
#5C7211 #112B72 #571172
monochromatic
#151B04 #313D09 #5C7211 #87A719 #B2DD21

Accessibility & contrast

On white

5.43
#5C7211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5C7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7211
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7211#FFFFFF#000000##FFFFFF
##5C72111.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#616C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c7211;
/* rgb */ color: rgb(92, 114, 17);
/* oklch */ color: oklch(51.6% 0.119 122.5);
Tailwind
colors: {
  custom: {
    50: '#8d9a5a',
    500: '#5c7211',
    950: '#000000',
  },
}
SCSS
$custom: #5c7211;
$custom-light: #8d9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7211",
  "rgb": {
    "r": 92,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 73.608,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.11895,
    "h": 122.5
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#5C7211
secondary
#5036A9
accent
#37F161
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7211

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

Preview Lab → · Contrast checker → · Palette generator →

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