#5A9427#5A9427

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

Color values

HEX#5A9427
RGBrgb(90, 148, 39)
HSLhsl(92, 58%, 37%)
HSVhsv(92, 74%, 58%)
CMYKcmyk(39.2%, 0%, 73.6%, 42%)
CIE-LABlab(55.58, -37.31, 48.80)
CIE-LCHlch(55.58, 61.43, 127.40°)
OKLaboklab(60.46% -0.1047 0.1098)
OKLCHoklch(60.46% 0.152 133.6)
XYZxyz(15.1723, 23.4992, 5.6554)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9427 #612794
analogous
#919427 #5A9427 #27942B
triadic
#5A9427 #275A94 #94275A
tetradic
#5A9427 #279194 #612794 #942B27
square
#5A9427 #279194 #612794 #942B27
split-complementary
#5A9427 #2B2794 #942791
monochromatic
#1F330D #3D641A #5A9427 #77C434 #97D560

Accessibility & contrast

On white

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

On black

5.70
#5A9427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9427
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9427#FFFFFF#000000##000000
##5A94271.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a9427;
/* rgb */ color: rgb(90, 148, 39);
/* oklch */ color: oklch(60.5% 0.152 133.6);
Tailwind
colors: {
  custom: {
    50: '#8eb469',
    500: '#5a9427',
    950: '#000000',
  },
}
SCSS
$custom: #5a9427;
$custom-light: #8eb469;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9427",
  "rgb": {
    "r": 90,
    "g": 148,
    "b": 39
  },
  "hsl": {
    "h": 91.927,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60456,
    "c": 0.15171,
    "h": 133.6
  },
  "luminance": 0.235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A9427

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

Preview Lab → · Contrast checker → · Palette generator →

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