#5D9122#5D9122

#5D9122 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.8% C 0.149 H 131.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D9122
RGBrgb(93, 145, 34)
HSLhsl(88, 62%, 35%)
HSVhsv(88, 77%, 57%)
CMYKcmyk(35.9%, 0%, 76.6%, 43.1%)
CIE-LABlab(54.75, -35.21, 49.87)
CIE-LCHlch(54.75, 61.04, 125.22°)
OKLaboklab(59.81% -0.0996 0.1112)
OKLCHoklch(59.81% 0.149 131.8)
XYZxyz(14.9282, 22.6929, 5.1067)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9122 #562291
analogous
#918D22 #5D9122 #269122
triadic
#5D9122 #225D91 #91225D
tetradic
#5D9122 #22918D #562291 #912226
square
#5D9122 #22918D #562291 #912226
split-complementary
#5D9122 #222691 #8D2291
monochromatic
#1D2E0B #3D5F16 #5D9122 #7DC32E #9BD756

Accessibility & contrast

On white

3.79
#5D9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5D9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D9122
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D9122#FFFFFF#000000##000000
##5D91221.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978609
Deuteranopia (green-blind)
#90822D
Tritanopia (blue-blind)
#5E8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d9122;
/* rgb */ color: rgb(93, 145, 34);
/* oklch */ color: oklch(59.8% 0.149 131.8);
Tailwind
colors: {
  custom: {
    50: '#8fb166',
    500: '#5d9122',
    950: '#000000',
  },
}
SCSS
$custom: #5d9122;
$custom-light: #8fb166;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9122",
  "rgb": {
    "r": 93,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 88.108,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59812,
    "c": 0.14926,
    "h": 131.8
  },
  "luminance": 0.22693
}

Semantic roles & 50–950 ramp

primary
#5D9122
secondary
#8453BB
accent
#43E58F
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9122

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

Preview Lab → · Contrast checker → · Palette generator →

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