#5C7210#5C7210

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

Color values

HEX#5C7210
RGBrgb(92, 114, 16)
HSLhsl(73, 75%, 25%)
HSVhsv(73, 86%, 45%)
CMYKcmyk(19.3%, 0%, 86%, 55.3%)
CIE-LABlab(44.73, -21.65, 46.34)
CIE-LCHlch(44.73, 51.15, 115.04°)
OKLaboklab(51.62% -0.064 0.1008)
OKLCHoklch(51.62% 0.119 122.4)
XYZxyz(10.5246, 14.3473, 2.7050)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7210 #261072
analogous
#725710 #5C7210 #2B7210
triadic
#5C7210 #105C72 #72105C
tetradic
#5C7210 #107257 #261072 #72102B
square
#5C7210 #107257 #261072 #72102B
split-complementary
#5C7210 #102B72 #571072
monochromatic
#161B04 #313C08 #5C7210 #87A818 #B3DD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7210#FFFFFF#000000##FFFFFF
##5C72101.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)
#776A1B
Tritanopia (blue-blind)
#616C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c7210;
/* rgb */ color: rgb(92, 114, 16);
/* oklch */ color: oklch(51.6% 0.119 122.4);
Tailwind
colors: {
  custom: {
    50: '#8d9a59',
    500: '#5c7210',
    950: '#000000',
  },
}
SCSS
$custom: #5c7210;
$custom-light: #8d9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7210",
  "rgb": {
    "r": 92,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 73.469,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.1194,
    "h": 122.4
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#5C7210
secondary
#4F34A9
accent
#36F260
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7210

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

Preview Lab → · Contrast checker → · Palette generator →

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