#5F9C2D#5F9C2D

#5F9C2D is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.9% C 0.156 H 134.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5F9C2D
RGBrgb(95, 156, 45)
HSLhsl(93, 55%, 39%)
HSVhsv(93, 71%, 61%)
CMYKcmyk(39.1%, 0%, 71.2%, 38.8%)
CIE-LABlab(58.41, -38.59, 49.43)
CIE-LCHlch(58.41, 62.71, 127.98°)
OKLaboklab(62.85% -0.108 0.1119)
OKLCHoklch(62.85% 0.156 134)
XYZxyz(17.0811, 26.3985, 6.6775)
Luminance0.2640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9C2D #6A2D9C
analogous
#979C2D #5F9C2D #2D9C33
triadic
#5F9C2D #2D5F9C #9C2D5F
tetradic
#5F9C2D #2D979C #6A2D9C #9C332D
square
#5F9C2D #2D979C #6A2D9C #9C332D
split-complementary
#5F9C2D #332D9C #9C2D97
monochromatic
#253D12 #426D1F #5F9C2D #7CC83F #9DD56E

Accessibility & contrast

On white

3.34
#5F9C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5F9C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9C2D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9C2D#FFFFFF#000000##000000
##5F9C2D1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901B
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#5F9686
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f9c2d;
/* rgb */ color: rgb(95, 156, 45);
/* oklch */ color: oklch(62.9% 0.156 134.0);
Tailwind
colors: {
  custom: {
    50: '#91b96d',
    500: '#5f9c2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f9c2d;
$custom-light: #91b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9c2d",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 92.973,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62852,
    "c": 0.15555,
    "h": 134
  },
  "luminance": 0.26399
}

Semantic roles & 50–950 ramp

primary
#5F9C2D
secondary
#9768BC
accent
#49DF9B
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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