#5B8A26#5B8A26

#5B8A26 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.9% C 0.139 H 131.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5B8A26
RGBrgb(91, 138, 38)
HSLhsl(88, 57%, 35%)
HSVhsv(88, 72%, 54%)
CMYKcmyk(34.1%, 0%, 72.5%, 45.9%)
CIE-LABlab(52.44, -32.52, 46.04)
CIE-LCHlch(52.44, 56.36, 125.24°)
OKLaboklab(57.9% -0.0918 0.1039)
OKLCHoklch(57.9% 0.139 131.5)
XYZxyz(13.7526, 20.5405, 5.0735)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A26 #55268A
analogous
#8A8726 #5B8A26 #298A26
triadic
#5B8A26 #265B8A #8A265B
tetradic
#5B8A26 #268A87 #55268A #8A2629
square
#5B8A26 #268A87 #55268A #8A2629
split-complementary
#5B8A26 #26298A #87268A
monochromatic
#1C2A0C #3B5A19 #5B8A26 #7BBA33 #99D159

Accessibility & contrast

On white

4.11
#5B8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5B8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8A26
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8A26#FFFFFF#000000##000000
##5B8A261.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#5D8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8a26;
/* rgb */ color: rgb(91, 138, 38);
/* oklch */ color: oklch(57.9% 0.139 131.5);
Tailwind
colors: {
  custom: {
    50: '#8dac67',
    500: '#5b8a26',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a26;
$custom-light: #8dac67;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a26",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 88.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.13862,
    "h": 131.5
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

primary
#5B8A26
secondary
#8356B6
accent
#48E08F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5B8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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