#5C8F2C#5C8F2C

#5C8F2C is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.141 H 132.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5C8F2C
RGBrgb(92, 143, 44)
HSLhsl(91, 53%, 37%)
HSVhsv(91, 69%, 56%)
CMYKcmyk(35.7%, 0%, 69.2%, 43.9%)
CIE-LABlab(54.13, -33.97, 45.35)
CIE-LCHlch(54.13, 56.66, 126.84°)
OKLaboklab(59.31% -0.0953 0.1033)
OKLCHoklch(59.31% 0.141 132.7)
XYZxyz(14.6905, 22.1015, 5.8744)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F2C #5F2C8F
analogous
#8E8F2C #5C8F2C #2C8F2E
triadic
#5C8F2C #2C5C8F #8F2C5C
tetradic
#5C8F2C #2C8E8F #5F2C8F #8F2E2C
square
#5C8F2C #2C8E8F #5F2C8F #8F2E2C
split-complementary
#5C8F2C #2E2C8F #8F2C8E
monochromatic
#20310F #3E601E #5C8F2C #7ABE3A #99D066

Accessibility & contrast

On white

3.87
#5C8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5C8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F2C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F2C#FFFFFF#000000##000000
##5C8F2C1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841E
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#5D897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f2c;
/* rgb */ color: rgb(92, 143, 44);
/* oklch */ color: oklch(59.3% 0.141 132.7);
Tailwind
colors: {
  custom: {
    50: '#8eb06b',
    500: '#5c8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f2c;
$custom-light: #8eb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f2c",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 90.909,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.14056,
    "h": 132.7
  },
  "luminance": 0.22102
}

Semantic roles & 50–950 ramp

primary
#5C8F2C
secondary
#8D61B6
accent
#4BDC96
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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