#5C7111#5C7111

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

Color values

HEX#5C7111
RGBrgb(92, 113, 17)
HSLhsl(73, 74%, 25%)
HSVhsv(73, 85%, 44%)
CMYKcmyk(18.6%, 0%, 85%, 55.7%)
CIE-LABlab(44.41, -21.10, 45.78)
CIE-LCHlch(44.41, 50.41, 114.74°)
OKLaboklab(51.36% -0.0624 0.0998)
OKLCHoklch(51.36% 0.118 122)
XYZxyz(10.4201, 14.1260, 2.7078)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7111 #261171
analogous
#715611 #5C7111 #2C7111
triadic
#5C7111 #115C71 #71115C
tetradic
#5C7111 #117156 #261171 #71112C
square
#5C7111 #117156 #261171 #71112C
split-complementary
#5C7111 #112C71 #561171
monochromatic
#161B04 #313C09 #5C7111 #87A619 #B3DB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7111#FFFFFF#000000##FFFFFF
##5C71111.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)
#786900
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#616B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c7111;
/* rgb */ color: rgb(92, 113, 17);
/* oklch */ color: oklch(51.4% 0.118 122.0);
Tailwind
colors: {
  custom: {
    50: '#8d995a',
    500: '#5c7111',
    950: '#000000',
  },
}
SCSS
$custom: #5c7111;
$custom-light: #8d995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7111",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 73.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.11769,
    "h": 122
  },
  "luminance": 0.14126
}

Semantic roles & 50–950 ramp

primary
#5C7111
secondary
#4F36A8
accent
#37F160
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7111

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

Preview Lab → · Contrast checker → · Palette generator →

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