#5B9F25#5B9F25

#5B9F25 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.166 H 134.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5B9F25
RGBrgb(91, 159, 37)
HSLhsl(93, 62%, 38%)
HSVhsv(93, 77%, 62%)
CMYKcmyk(42.8%, 0%, 76.7%, 37.6%)
CIE-LABlab(59.12, -41.81, 53.01)
CIE-LCHlch(59.12, 67.51, 128.26°)
OKLaboklab(63.36% -0.117 0.1183)
OKLCHoklch(63.36% 0.166 134.7)
XYZxyz(17.0461, 27.1531, 6.0928)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F25 #69259F
analogous
#989F25 #5B9F25 #259F2C
triadic
#5B9F25 #255B9F #9F255B
tetradic
#5B9F25 #25989F #69259F #9F2C25
square
#5B9F25 #25989F #69259F #9F2C25
split-complementary
#5B9F25 #2C259F #9F2598
monochromatic
#223C0E #3F6D19 #5B9F25 #78CF32 #98DB64

Accessibility & contrast

On white

3.27
#5B9F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#5B9F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F25
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F25#FFFFFF#000000##000000
##5B9F251.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59208
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f25;
/* rgb */ color: rgb(91, 159, 37);
/* oklch */ color: oklch(63.4% 0.166 134.7);
Tailwind
colors: {
  custom: {
    50: '#8fbc69',
    500: '#5b9f25',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f25;
$custom-light: #8fbc69;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f25",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 93.443,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63358,
    "c": 0.16642,
    "h": 134.7
  },
  "luminance": 0.27154
}

Semantic roles & 50–950 ramp

primary
#5B9F25
secondary
#955FC0
accent
#42E59D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9F25

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

Preview Lab → · Contrast checker → · Palette generator →

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