#5C8F3F#5C8F3F

#5C8F3F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.5% C 0.124 H 135.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5C8F3F
RGBrgb(92, 143, 63)
HSLhsl(98, 39%, 40%)
HSVhsv(98, 56%, 56%)
CMYKcmyk(35.7%, 0%, 55.9%, 43.9%)
CIE-LABlab(54.32, -32.11, 36.77)
CIE-LCHlch(54.32, 48.82, 131.13°)
OKLaboklab(59.53% -0.0887 0.0871)
OKLCHoklch(59.53% 0.124 135.5)
XYZxyz(15.1329, 22.2785, 8.2045)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F3F #723F8F
analogous
#848F3F #5C8F3F #3F8F4A
triadic
#5C8F3F #3F5C8F #8F3F5C
tetradic
#5C8F3F #3F848F #723F8F #8F4A3F
square
#5C8F3F #3F848F #723F8F #8F4A3F
split-complementary
#5C8F3F #4A3F8F #8F3F84
monochromatic
#253A1A #41652C #5C8F3F #79B556 #9BC781

Accessibility & contrast

On white

3.85
#5C8F3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5C8F3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8F3F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8F3F#FFFFFF#000000##000000
##5C8F3F1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948537
Deuteranopia (green-blind)
#8D8045
Tritanopia (blue-blind)
#5B8A7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5c8f3f;
/* rgb */ color: rgb(92, 143, 63);
/* oklch */ color: oklch(59.5% 0.124 135.5);
Tailwind
colors: {
  custom: {
    50: '#8db076',
    500: '#5c8f3f',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f3f;
$custom-light: #8db076;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f3f",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 63
  },
  "hsl": {
    "h": 98.25,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.59526,
    "c": 0.12436,
    "h": 135.5
  },
  "luminance": 0.22279
}

Semantic roles & 50–950 ramp

primary
#5C8F3F
secondary
#9D78B2
accent
#59CFA4
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5C8F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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