#5D8A2C#5D8A2C

#5D8A2C is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.133 H 131.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5D8A2C
RGBrgb(93, 138, 44)
HSLhsl(89, 52%, 36%)
HSVhsv(89, 68%, 54%)
CMYKcmyk(32.6%, 0%, 68.1%, 45.9%)
CIE-LABlab(52.60, -31.29, 43.75)
CIE-LCHlch(52.60, 53.79, 125.57°)
OKLaboklab(58.08% -0.0881 0.0999)
OKLCHoklch(58.08% 0.133 131.4)
XYZxyz(14.0572, 20.6855, 5.6344)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A2C #592C8A
analogous
#8A882C #5D8A2C #2E8A2C
triadic
#5D8A2C #2C5D8A #8A2C5D
tetradic
#5D8A2C #2C8A88 #592C8A #8A2C2E
square
#5D8A2C #2C8A88 #592C8A #8A2C2E
split-complementary
#5D8A2C #2C2E8A #882C8A
monochromatic
#1E2D0E #3E5C1D #5D8A2C #7CB83B #9ACD63

Accessibility & contrast

On white

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

On black

5.14
#5D8A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A2C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A2C#FFFFFF#000000##000000
##5D8A2C1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#5F8477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a2c;
/* rgb */ color: rgb(93, 138, 44);
/* oklch */ color: oklch(58.1% 0.133 131.4);
Tailwind
colors: {
  custom: {
    50: '#8eac6a',
    500: '#5d8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a2c;
$custom-light: #8eac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a2c",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 88.723,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58081,
    "c": 0.13318,
    "h": 131.4
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#5D8A2C
secondary
#875EB4
accent
#4DDB91
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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