#5A9026#5A9026

#5A9026 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.4% C 0.147 H 132.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5A9026
RGBrgb(90, 144, 38)
HSLhsl(91, 58%, 36%)
HSVhsv(91, 74%, 56%)
CMYKcmyk(37.5%, 0%, 73.6%, 43.5%)
CIE-LABlab(54.30, -35.62, 47.89)
CIE-LCHlch(54.30, 59.68, 126.64°)
OKLaboklab(59.41% -0.1002 0.1078)
OKLCHoklch(59.41% 0.147 132.9)
XYZxyz(14.5393, 22.2595, 5.3638)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9026 #5C2690
analogous
#8F9026 #5A9026 #269027
triadic
#5A9026 #265A90 #90265A
tetradic
#5A9026 #268F90 #5C2690 #902726
square
#5A9026 #268F90 #5C2690 #902726
split-complementary
#5A9026 #272690 #90268F
monochromatic
#1D2F0C #3C6019 #5A9026 #78C033 #97D45C

Accessibility & contrast

On white

3.85
#5A9026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5A9026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9026
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9026#FFFFFF#000000##000000
##5A90261.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968513
Deuteranopia (green-blind)
#8F8030
Tritanopia (blue-blind)
#5B8A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5a9026;
/* rgb */ color: rgb(90, 144, 38);
/* oklch */ color: oklch(59.4% 0.147 132.9);
Tailwind
colors: {
  custom: {
    50: '#8db168',
    500: '#5a9026',
    950: '#000000',
  },
}
SCSS
$custom: #5a9026;
$custom-light: #8db168;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9026",
  "rgb": {
    "r": 90,
    "g": 144,
    "b": 38
  },
  "hsl": {
    "h": 90.566,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.14712,
    "h": 132.9
  },
  "luminance": 0.2226
}

Semantic roles & 50–950 ramp

primary
#5A9026
secondary
#8A59B9
accent
#46E195
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5A9026

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

Preview Lab → · Contrast checker → · Palette generator →

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