#5C8F2D#5C8F2D

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

Color values

HEX#5C8F2D
RGBrgb(92, 143, 45)
HSLhsl(91, 52%, 37%)
HSVhsv(91, 69%, 56%)
CMYKcmyk(35.7%, 0%, 68.5%, 43.9%)
CIE-LABlab(54.14, -33.89, 44.94)
CIE-LCHlch(54.14, 56.28, 127.03°)
OKLaboklab(59.32% -0.095 0.1025)
OKLCHoklch(59.32% 0.14 132.8)
XYZxyz(14.7095, 22.1091, 5.9746)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F2D #602D8F
analogous
#8D8F2D #5C8F2D #2D8F2F
triadic
#5C8F2D #2D5C8F #8F2D5C
tetradic
#5C8F2D #2D8D8F #602D8F #8F2F2D
square
#5C8F2D #2D8D8F #602D8F #8F2F2D
split-complementary
#5C8F2D #2F2D8F #8F2D8D
monochromatic
#203210 #3E601E #5C8F2D #7ABE3C #99CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8F2D#FFFFFF#000000##000000
##5C8F2D1.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)
#95841F
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#5D897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f2d;
/* rgb */ color: rgb(92, 143, 45);
/* oklch */ color: oklch(59.3% 0.140 132.8);
Tailwind
colors: {
  custom: {
    50: '#8eb06b',
    500: '#5c8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f2d;
$custom-light: #8eb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f2d",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 91.224,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.13982,
    "h": 132.8
  },
  "luminance": 0.2211
}

Semantic roles & 50–950 ramp

primary
#5C8F2D
secondary
#8E62B6
accent
#4CDC97
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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