#5C8F2A#5C8F2A

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

Color values

HEX#5C8F2A
RGBrgb(92, 143, 42)
HSLhsl(90, 55%, 36%)
HSVhsv(90, 71%, 56%)
CMYKcmyk(35.7%, 0%, 70.6%, 43.9%)
CIE-LABlab(54.12, -34.13, 46.16)
CIE-LCHlch(54.12, 57.41, 126.48°)
OKLaboklab(59.3% -0.0959 0.1047)
OKLCHoklch(59.3% 0.142 132.5)
XYZxyz(14.6538, 22.0868, 5.6811)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F2A #5D2A8F
analogous
#8F8F2A #5C8F2A #2A8F2B
triadic
#5C8F2A #2A5C8F #8F2A5C
tetradic
#5C8F2A #2A8F8F #5D2A8F #8F2B2A
square
#5C8F2A #2A8F8F #5D2A8F #8F2B2A
split-complementary
#5C8F2A #2B2A8F #8F2A8F
monochromatic
#1F300E #3E601C #5C8F2A #7ABE38 #99D162

Accessibility & contrast

On white

3.88
#5C8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8F2A#FFFFFF#000000##000000
##5C8F2A1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c8f2a;
/* rgb */ color: rgb(92, 143, 42);
/* oklch */ color: oklch(59.3% 0.142 132.5);
Tailwind
colors: {
  custom: {
    50: '#8eb06a',
    500: '#5c8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f2a;
$custom-light: #8eb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f2a",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 90.297,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.142,
    "h": 132.5
  },
  "luminance": 0.22087
}

Semantic roles & 50–950 ramp

primary
#5C8F2A
secondary
#8B5EB7
accent
#4ADE95
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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