#5D8A26#5D8A26

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

Color values

HEX#5D8A26
RGBrgb(93, 138, 38)
HSLhsl(87, 57%, 35%)
HSVhsv(87, 72%, 54%)
CMYKcmyk(32.6%, 0%, 72.5%, 45.9%)
CIE-LABlab(52.56, -31.75, 46.19)
CIE-LCHlch(52.56, 56.05, 124.50°)
OKLaboklab(58.03% -0.0898 0.1041)
OKLCHoklch(58.03% 0.138 130.8)
XYZxyz(13.9524, 20.6436, 5.0828)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A26 #53268A
analogous
#8A8526 #5D8A26 #2B8A26
triadic
#5D8A26 #265D8A #8A265D
tetradic
#5D8A26 #268A85 #53268A #8A262B
square
#5D8A26 #268A85 #53268A #8A262B
split-complementary
#5D8A26 #262B8A #85268A
monochromatic
#1C2A0C #3D5A19 #5D8A26 #7DBA33 #9BD159

Accessibility & contrast

On white

4.09
#5D8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5D8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A26
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A26#FFFFFF#000000##000000
##5D8A261.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908015
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#5F8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d8a26;
/* rgb */ color: rgb(93, 138, 38);
/* oklch */ color: oklch(58.0% 0.138 130.8);
Tailwind
colors: {
  custom: {
    50: '#8fac67',
    500: '#5d8a26',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a26;
$custom-light: #8fac67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a26",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 87,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.13754,
    "h": 130.8
  },
  "luminance": 0.20644
}

Semantic roles & 50–950 ramp

primary
#5D8A26
secondary
#8156B6
accent
#48E08C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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