#5BA431#5BA431

#5BA431 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.7% C 0.165 H 136.3°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5BA431
RGBrgb(91, 164, 49)
HSLhsl(98, 54%, 42%)
HSVhsv(98, 70%, 64%)
CMYKcmyk(44.5%, 0%, 70.1%, 35.7%)
CIE-LABlab(60.78, -43.05, 50.22)
CIE-LCHlch(60.78, 66.15, 130.60°)
OKLaboklab(64.75% -0.1195 0.1142)
OKLCHoklch(64.75% 0.165 136.3)
XYZxyz(18.1437, 28.9957, 7.5458)
Luminance0.2900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA431 #7A31A4
analogous
#95A431 #5BA431 #31A441
triadic
#5BA431 #315BA4 #A4315B
tetradic
#5BA431 #3195A4 #7A31A4 #A44131
square
#5BA431 #3195A4 #7A31A4 #A44131
split-complementary
#5BA431 #4131A4 #A43195
monochromatic
#274615 #417523 #5BA431 #78C949 #9BD779

Accessibility & contrast

On white

3.09
#5BA431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5BA431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5BA431
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA431#FFFFFF#000000##000000
##5BA4311.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961F
Deuteranopia (green-blind)
#A0903C
Tritanopia (blue-blind)
#589E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ba431;
/* rgb */ color: rgb(91, 164, 49);
/* oklch */ color: oklch(64.7% 0.165 136.3);
Tailwind
colors: {
  custom: {
    50: '#8fbf70',
    500: '#5ba431',
    950: '#000000',
  },
}
SCSS
$custom: #5ba431;
$custom-light: #8fbf70;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba431",
  "rgb": {
    "r": 91,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 98.087,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.16533,
    "h": 136.3
  },
  "luminance": 0.28997
}

Semantic roles & 50–950 ramp

primary
#5BA431
secondary
#A372BF
accent
#4ADDA8
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5BA431

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

Preview Lab → · Contrast checker → · Palette generator →

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