#5D9123#5D9123

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

Color values

HEX#5D9123
RGBrgb(93, 145, 35)
HSLhsl(88, 61%, 35%)
HSVhsv(88, 76%, 57%)
CMYKcmyk(35.9%, 0%, 75.9%, 43.1%)
CIE-LABlab(54.76, -35.15, 49.51)
CIE-LCHlch(54.76, 60.72, 125.37°)
OKLaboklab(59.82% -0.0993 0.1106)
OKLCHoklch(59.82% 0.149 131.9)
XYZxyz(14.9428, 22.6987, 5.1838)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D9123 #572391
analogous
#918E23 #5D9123 #269123
triadic
#5D9123 #235D91 #91235D
tetradic
#5D9123 #23918E #572391 #912326
square
#5D9123 #23918E #572391 #912326
split-complementary
#5D9123 #232691 #8E2391
monochromatic
#1E2E0B #3D6017 #5D9123 #7DC22F #9BD758

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D9123#FFFFFF#000000##000000
##5D91231.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)
#97860C
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#5E8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5d9123;
/* rgb */ color: rgb(93, 145, 35);
/* oklch */ color: oklch(59.8% 0.149 131.9);
Tailwind
colors: {
  custom: {
    50: '#8fb166',
    500: '#5d9123',
    950: '#000000',
  },
}
SCSS
$custom: #5d9123;
$custom-light: #8fb166;
$custom-dark: #000000;
JSON
{
  "hex": "#5d9123",
  "rgb": {
    "r": 93,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 88.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.14867,
    "h": 131.9
  },
  "luminance": 0.22699
}

Semantic roles & 50–950 ramp

primary
#5D9123
secondary
#8555BB
accent
#44E490
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5D9123

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

Preview Lab → · Contrast checker → · Palette generator →

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