#5B8E23#5B8E23

#5B8E23 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.9% C 0.146 H 132.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5B8E23
RGBrgb(91, 142, 35)
HSLhsl(89, 60%, 35%)
HSVhsv(89, 75%, 56%)
CMYKcmyk(35.9%, 0%, 75.4%, 44.3%)
CIE-LABlab(53.70, -34.55, 48.44)
CIE-LCHlch(53.70, 59.49, 125.50°)
OKLaboklab(58.92% -0.0976 0.1084)
OKLCHoklch(58.92% 0.146 132)
XYZxyz(14.2906, 21.6909, 5.0236)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8E23 #56238E
analogous
#8E8C23 #5B8E23 #268E23
triadic
#5B8E23 #235B8E #8E235B
tetradic
#5B8E23 #238E8C #56238E #8E2326
square
#5B8E23 #238E8C #56238E #8E2326
split-complementary
#5B8E23 #23268E #8C238E
monochromatic
#1C2C0B #3C5D17 #5B8E23 #7ABF2F #99D556

Accessibility & contrast

On white

3.93
#5B8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5B8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8E23
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8E23#FFFFFF#000000##000000
##5B8E231.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#5C8879
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5b8e23;
/* rgb */ color: rgb(91, 142, 35);
/* oklch */ color: oklch(58.9% 0.146 132.0);
Tailwind
colors: {
  custom: {
    50: '#8eaf66',
    500: '#5b8e23',
    950: '#000000',
  },
}
SCSS
$custom: #5b8e23;
$custom-light: #8eaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8e23",
  "rgb": {
    "r": 91,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 88.598,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.14584,
    "h": 132
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#5B8E23
secondary
#8453B9
accent
#44E490
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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