#5B9123#5B9123

#5B9123 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.7% C 0.150 H 132.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5B9123
RGBrgb(91, 145, 35)
HSLhsl(89, 61%, 35%)
HSVhsv(89, 76%, 57%)
CMYKcmyk(37.2%, 0%, 75.9%, 43.1%)
CIE-LABlab(54.65, -35.89, 49.37)
CIE-LCHlch(54.65, 61.04, 126.01°)
OKLaboklab(59.7% -0.1012 0.1104)
OKLCHoklch(59.7% 0.15 132.5)
XYZxyz(14.7430, 22.5957, 5.1744)
Luminance0.2260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9123 #592391
analogous
#919023 #5B9123 #249123
triadic
#5B9123 #235B91 #91235B
tetradic
#5B9123 #239190 #592391 #912324
square
#5B9123 #239190 #592391 #912324
split-complementary
#5B9123 #232491 #902391
monochromatic
#1D2E0B #3C6017 #5B9123 #7AC22F #98D758

Accessibility & contrast

On white

3.80
#5B9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5B9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9123
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9123#FFFFFF#000000##000000
##5B91231.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850C
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#5C8B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5b9123;
/* rgb */ color: rgb(91, 145, 35);
/* oklch */ color: oklch(59.7% 0.150 132.5);
Tailwind
colors: {
  custom: {
    50: '#8eb166',
    500: '#5b9123',
    950: '#000000',
  },
}
SCSS
$custom: #5b9123;
$custom-light: #8eb166;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9123",
  "rgb": {
    "r": 91,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 89.455,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59702,
    "c": 0.14976,
    "h": 132.5
  },
  "luminance": 0.22596
}

Semantic roles & 50–950 ramp

primary
#5B9123
secondary
#8755BB
accent
#44E492
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9123

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

Preview Lab → · Contrast checker → · Palette generator →

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