#5C7112#5C7112

#5C7112 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.4% C 0.117 H 122.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5C7112
RGBrgb(92, 113, 18)
HSLhsl(73, 73%, 26%)
HSVhsv(73, 84%, 44%)
CMYKcmyk(18.6%, 0%, 84.1%, 55.7%)
CIE-LABlab(44.42, -21.06, 45.49)
CIE-LCHlch(44.42, 50.13, 114.84°)
OKLaboklab(51.37% -0.0623 0.0993)
OKLCHoklch(51.37% 0.117 122.1)
XYZxyz(10.4281, 14.1292, 2.7500)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7112 #271271
analogous
#715612 #5C7112 #2C7112
triadic
#5C7112 #125C71 #71125C
tetradic
#5C7112 #127156 #271271 #71122C
square
#5C7112 #127156 #271271 #71122C
split-complementary
#5C7112 #122C71 #561271
monochromatic
#151A04 #313C0A #5C7112 #87A61A #B2DB23

Accessibility & contrast

On white

5.49
#5C7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5C7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7112
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7112#FFFFFF#000000##FFFFFF
##5C71121.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#616B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c7112;
/* rgb */ color: rgb(92, 113, 18);
/* oklch */ color: oklch(51.4% 0.117 122.1);
Tailwind
colors: {
  custom: {
    50: '#8d995a',
    500: '#5c7112',
    950: '#000000',
  },
}
SCSS
$custom: #5c7112;
$custom-light: #8d995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7112",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 73.263,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.11721,
    "h": 122.1
  },
  "luminance": 0.14129
}

Semantic roles & 50–950 ramp

primary
#5C7112
secondary
#5037A8
accent
#39EF61
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7112

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

Preview Lab → · Contrast checker → · Palette generator →

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