#5B9427#5B9427

#5B9427 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 60.5% C 0.151 H 133.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5B9427
RGBrgb(91, 148, 39)
HSLhsl(91, 58%, 37%)
HSVhsv(91, 74%, 58%)
CMYKcmyk(38.5%, 0%, 73.6%, 42%)
CIE-LABlab(55.63, -36.95, 48.87)
CIE-LCHlch(55.63, 61.26, 127.10°)
OKLaboklab(60.51% -0.1038 0.1099)
OKLCHoklch(60.51% 0.151 133.4)
XYZxyz(15.2703, 23.5497, 5.6600)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9427 #602794
analogous
#929427 #5B9427 #279429
triadic
#5B9427 #275B94 #94275B
tetradic
#5B9427 #279294 #602794 #942927
square
#5B9427 #279294 #602794 #942927
split-complementary
#5B9427 #292794 #942792
monochromatic
#1F330D #3D641A #5B9427 #79C434 #98D560

Accessibility & contrast

On white

3.68
#5B9427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5B9427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9427
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9427#FFFFFF#000000##000000
##5B94271.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8813
Deuteranopia (green-blind)
#928431
Tritanopia (blue-blind)
#5B8E7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b9427;
/* rgb */ color: rgb(91, 148, 39);
/* oklch */ color: oklch(60.5% 0.151 133.4);
Tailwind
colors: {
  custom: {
    50: '#8eb469',
    500: '#5b9427',
    950: '#000000',
  },
}
SCSS
$custom: #5b9427;
$custom-light: #8eb469;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9427",
  "rgb": {
    "r": 91,
    "g": 148,
    "b": 39
  },
  "hsl": {
    "h": 91.376,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.15118,
    "h": 133.4
  },
  "luminance": 0.2355
}

Semantic roles & 50–950 ramp

primary
#5B9427
secondary
#8E5CBB
accent
#46E297
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9427

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

Preview Lab → · Contrast checker → · Palette generator →

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