#5C8F2F#5C8F2F

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

Color values

HEX#5C8F2F
RGBrgb(92, 143, 47)
HSLhsl(92, 51%, 37%)
HSVhsv(92, 67%, 56%)
CMYKcmyk(35.7%, 0%, 67.1%, 43.9%)
CIE-LABlab(54.16, -33.72, 44.09)
CIE-LCHlch(54.16, 55.51, 127.41°)
OKLaboklab(59.34% -0.0944 0.101)
OKLCHoklch(59.34% 0.138 133.1)
XYZxyz(14.7490, 22.1249, 6.1822)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F2F #622F8F
analogous
#8C8F2F #5C8F2F #2F8F32
triadic
#5C8F2F #2F5C8F #8F2F5C
tetradic
#5C8F2F #2F8C8F #622F8F #8F322F
square
#5C8F2F #2F8C8F #622F8F #8F322F
split-complementary
#5C8F2F #322F8F #8F2F8C
monochromatic
#213311 #3E6120 #5C8F2F #7ABD3E #99CE6A

Accessibility & contrast

On white

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

On black

5.43
#5C8F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F2F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F2F#FFFFFF#000000##000000
##5C8F2F1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958422
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#5C897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f2f;
/* rgb */ color: rgb(92, 143, 47);
/* oklch */ color: oklch(59.3% 0.138 133.1);
Tailwind
colors: {
  custom: {
    50: '#8eb06c',
    500: '#5c8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f2f;
$custom-light: #8eb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f2f",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 91.875,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.13829,
    "h": 133.1
  },
  "luminance": 0.22125
}

Semantic roles & 50–950 ramp

primary
#5C8F2F
secondary
#8F65B5
accent
#4EDA98
background
#F9FAF6
surface
#F1F5EC
border
#CBCFC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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