#5C8A26#5C8A26

#5C8A26 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.138 H 131.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C8A26
RGBrgb(92, 138, 38)
HSLhsl(88, 57%, 35%)
HSVhsv(88, 72%, 54%)
CMYKcmyk(33.3%, 0%, 72.5%, 45.9%)
CIE-LABlab(52.50, -32.13, 46.11)
CIE-LCHlch(52.50, 56.20, 124.87°)
OKLaboklab(57.97% -0.0908 0.104)
OKLCHoklch(57.97% 0.138 131.1)
XYZxyz(13.8518, 20.5917, 5.0781)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A26 #54268A
analogous
#8A8626 #5C8A26 #2A8A26
triadic
#5C8A26 #265C8A #8A265C
tetradic
#5C8A26 #268A86 #54268A #8A262A
square
#5C8A26 #268A86 #54268A #8A262A
split-complementary
#5C8A26 #262A8A #86268A
monochromatic
#1C2A0C #3C5A19 #5C8A26 #7CBA33 #9AD159

Accessibility & contrast

On white

4.10
#5C8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5C8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A26
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A26#FFFFFF#000000##000000
##5C8A261.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#5E8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a26;
/* rgb */ color: rgb(92, 138, 38);
/* oklch */ color: oklch(58.0% 0.138 131.1);
Tailwind
colors: {
  custom: {
    50: '#8eac67',
    500: '#5c8a26',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a26;
$custom-light: #8eac67;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a26",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 87.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.13807,
    "h": 131.1
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#5C8A26
secondary
#8256B6
accent
#48E08E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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