#5C8F2B#5C8F2B

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

Color values

HEX#5C8F2B
RGBrgb(92, 143, 43)
HSLhsl(91, 54%, 36%)
HSVhsv(91, 70%, 56%)
CMYKcmyk(35.7%, 0%, 69.9%, 43.9%)
CIE-LABlab(54.13, -34.05, 45.76)
CIE-LCHlch(54.13, 57.04, 126.66°)
OKLaboklab(59.31% -0.0956 0.104)
OKLCHoklch(59.31% 0.141 132.6)
XYZxyz(14.6719, 22.0941, 5.7766)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8F2B #5E2B8F
analogous
#8E8F2B #5C8F2B #2B8F2C
triadic
#5C8F2B #2B5C8F #8F2B5C
tetradic
#5C8F2B #2B8E8F #5E2B8F #8F2C2B
square
#5C8F2B #2B8E8F #5E2B8F #8F2C2B
split-complementary
#5C8F2B #2C2B8F #8F2B8E
monochromatic
#1F310F #3E601D #5C8F2B #7ABE39 #99D064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8F2B#FFFFFF#000000##000000
##5C8F2B1.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)
#95841C
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#5D897B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8f2b;
/* rgb */ color: rgb(92, 143, 43);
/* oklch */ color: oklch(59.3% 0.141 132.6);
Tailwind
colors: {
  custom: {
    50: '#8eb06a',
    500: '#5c8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8f2b;
$custom-light: #8eb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8f2b",
  "rgb": {
    "r": 92,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 90.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59305,
    "c": 0.14128,
    "h": 132.6
  },
  "luminance": 0.22095
}

Semantic roles & 50–950 ramp

primary
#5C8F2B
secondary
#8C5FB7
accent
#4BDD95
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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