#5BA427#5BA427

#5BA427 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.7% C 0.172 H 135.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5BA427
RGBrgb(91, 164, 39)
HSLhsl(95, 62%, 40%)
HSVhsv(95, 76%, 64%)
CMYKcmyk(44.5%, 0%, 76.2%, 35.7%)
CIE-LABlab(60.71, -43.76, 53.88)
CIE-LCHlch(60.71, 69.41, 129.08°)
OKLaboklab(64.67% -0.1222 0.1204)
OKLCHoklch(64.67% 0.172 135.4)
XYZxyz(17.9556, 28.9205, 6.5552)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA427 #7027A4
analogous
#9AA427 #5BA427 #27A432
triadic
#5BA427 #275BA4 #A4275B
tetradic
#5BA427 #279AA4 #7027A4 #A43227
square
#5BA427 #279AA4 #7027A4 #A43227
split-complementary
#5BA427 #3227A4 #A4279A
monochromatic
#24410F #40731B #5BA427 #77D038 #99DC6A

Accessibility & contrast

On white

3.10
#5BA427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#5BA427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA427
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA427#FFFFFF#000000##000000
##5BA4271.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960A
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#599E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5ba427;
/* rgb */ color: rgb(91, 164, 39);
/* oklch */ color: oklch(64.7% 0.172 135.4);
Tailwind
colors: {
  custom: {
    50: '#90bf6b',
    500: '#5ba427',
    950: '#000000',
  },
}
SCSS
$custom: #5ba427;
$custom-light: #90bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba427",
  "rgb": {
    "r": 91,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 95.04,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6467,
    "c": 0.17153,
    "h": 135.4
  },
  "luminance": 0.28922
}

Semantic roles & 50–950 ramp

primary
#5BA427
secondary
#9B65C2
accent
#43E5A1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5BA427

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

Preview Lab → · Contrast checker → · Palette generator →

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