#5C8E2B#5C8E2B

#5C8E2B is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.0% C 0.140 H 132.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5C8E2B
RGBrgb(92, 142, 43)
HSLhsl(90, 54%, 36%)
HSVhsv(90, 70%, 56%)
CMYKcmyk(35.2%, 0%, 69.7%, 44.3%)
CIE-LABlab(53.81, -33.60, 45.43)
CIE-LCHlch(53.81, 56.50, 126.49°)
OKLaboklab(59.05% -0.0944 0.1033)
OKLCHoklch(59.05% 0.14 132.4)
XYZxyz(14.5225, 21.7952, 5.7267)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8E2B #5D2B8E
analogous
#8E8E2B #5C8E2B #2B8E2C
triadic
#5C8E2B #2B5C8E #8E2B5C
tetradic
#5C8E2B #2B8E8E #5D2B8E #8E2C2B
square
#5C8E2B #2B8E8E #5D2B8E #8E2C2B
split-complementary
#5C8E2B #2C2B8E #8E2B8E
monochromatic
#1F300F #3E5F1D #5C8E2B #7ABD39 #99D063

Accessibility & contrast

On white

3.92
#5C8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5C8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8E2B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8E2B#FFFFFF#000000##000000
##5C8E2B1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#5D887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5c8e2b;
/* rgb */ color: rgb(92, 142, 43);
/* oklch */ color: oklch(59.0% 0.140 132.4);
Tailwind
colors: {
  custom: {
    50: '#8eaf6a',
    500: '#5c8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #5c8e2b;
$custom-light: #8eaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8e2b",
  "rgb": {
    "r": 92,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 90.303,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.13994,
    "h": 132.4
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#5C8E2B
secondary
#8B5FB6
accent
#4BDD95
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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