#5B8A2D#5B8A2D

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

Color values

HEX#5B8A2D
RGBrgb(91, 138, 45)
HSLhsl(90, 51%, 36%)
HSVhsv(90, 67%, 54%)
CMYKcmyk(34.1%, 0%, 67.4%, 45.9%)
CIE-LABlab(52.50, -31.97, 43.17)
CIE-LCHlch(52.50, 53.72, 126.52°)
OKLaboklab(57.97% -0.0897 0.0988)
OKLCHoklch(57.97% 0.133 132.2)
XYZxyz(13.8763, 20.5900, 5.7253)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A2D #5C2D8A
analogous
#898A2D #5B8A2D #2D8A2D
triadic
#5B8A2D #2D5B8A #8A2D5B
tetradic
#5B8A2D #2D898A #5C2D8A #8A2D2D
square
#5B8A2D #2D898A #5C2D8A #8A2D2D
split-complementary
#5B8A2D #2D2D8A #8A2D89
monochromatic
#1E2E0F #3D5C1E #5B8A2D #79B83C #98CD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8A2D#FFFFFF#000000##000000
##5B8A2D1.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)
#908021
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#5C8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8a2d;
/* rgb */ color: rgb(91, 138, 45);
/* oklch */ color: oklch(58.0% 0.133 132.2);
Tailwind
colors: {
  custom: {
    50: '#8dac6b',
    500: '#5b8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a2d;
$custom-light: #8dac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a2d",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 90.323,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57968,
    "c": 0.13349,
    "h": 132.2
  },
  "luminance": 0.20591
}

Semantic roles & 50–950 ramp

primary
#5B8A2D
secondary
#8A60B3
accent
#4DDA95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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