#5B912E#5B912E

#5B912E is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.8% C 0.142 H 133.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5B912E
RGBrgb(91, 145, 46)
HSLhsl(93, 52%, 37%)
HSVhsv(93, 68%, 57%)
CMYKcmyk(37.2%, 0%, 68.3%, 43.1%)
CIE-LABlab(54.73, -35.08, 45.12)
CIE-LCHlch(54.73, 57.15, 127.87°)
OKLaboklab(59.79% -0.0981 0.1031)
OKLCHoklch(59.79% 0.142 133.6)
XYZxyz(14.9327, 22.6715, 6.1735)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B912E #642E91
analogous
#8D912E #5B912E #2E9132
triadic
#5B912E #2E5B91 #912E5B
tetradic
#5B912E #2E8D91 #642E91 #91322E
square
#5B912E #2E8D91 #642E91 #91322E
split-complementary
#5B912E #322E91 #912E8D
monochromatic
#213411 #3E631F #5B912E #78BF3D #98D06A

Accessibility & contrast

On white

3.79
#5B912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#5B912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B912E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B912E#FFFFFF#000000##000000
##5B912E1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#5B8B7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b912e;
/* rgb */ color: rgb(91, 145, 46);
/* oklch */ color: oklch(59.8% 0.142 133.6);
Tailwind
colors: {
  custom: {
    50: '#8eb16c',
    500: '#5b912e',
    950: '#000000',
  },
}
SCSS
$custom: #5b912e;
$custom-light: #8eb16c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b912e",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 92.727,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.14233,
    "h": 133.6
  },
  "luminance": 0.22672
}

Semantic roles & 50–950 ramp

primary
#5B912E
secondary
#9164B7
accent
#4DDB9A
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0D1107
muted
#7D807A

Preview Lab

Preview with #5B912E

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

Preview Lab → · Contrast checker → · Palette generator →

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