#5E9522#5E9522

#5E9522 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.154 H 132.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5E9522
RGBrgb(94, 149, 34)
HSLhsl(89, 63%, 36%)
HSVhsv(89, 77%, 58%)
CMYKcmyk(36.9%, 0%, 77.2%, 41.6%)
CIE-LABlab(56.08, -36.62, 51.16)
CIE-LCHlch(56.08, 62.91, 125.59°)
OKLaboklab(60.91% -0.1034 0.1139)
OKLCHoklch(60.91% 0.154 132.2)
XYZxyz(15.6521, 23.9894, 5.3188)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9522 #592295
analogous
#959222 #5E9522 #249522
triadic
#5E9522 #225E95 #95225E
tetradic
#5E9522 #229592 #592295 #952224
square
#5E9522 #229592 #592295 #952224
split-complementary
#5E9522 #222495 #922295
monochromatic
#1F310B #3F6317 #5E9522 #7DC72D #9BD958

Accessibility & contrast

On white

3.62
#5E9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5E9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9522
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9522#FFFFFF#000000##000000
##5E95221.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8906
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#5F8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e9522;
/* rgb */ color: rgb(94, 149, 34);
/* oklch */ color: oklch(60.9% 0.154 132.2);
Tailwind
colors: {
  custom: {
    50: '#90b466',
    500: '#5e9522',
    950: '#000000',
  },
}
SCSS
$custom: #5e9522;
$custom-light: #90b466;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9522",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 88.696,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60906,
    "c": 0.15386,
    "h": 132.2
  },
  "luminance": 0.2399
}

Semantic roles & 50–950 ramp

primary
#5E9522
secondary
#8756BD
accent
#42E690
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9522

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

Preview Lab → · Contrast checker → · Palette generator →

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