#5F9F2D#5F9F2D

#5F9F2D is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.6% C 0.159 H 134.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5F9F2D
RGBrgb(95, 159, 45)
HSLhsl(94, 56%, 40%)
HSVhsv(94, 72%, 62%)
CMYKcmyk(40.3%, 0%, 71.7%, 37.6%)
CIE-LABlab(59.36, -39.88, 50.40)
CIE-LCHlch(59.36, 64.27, 128.36°)
OKLaboklab(63.63% -0.1115 0.1139)
OKLCHoklch(63.63% 0.159 134.4)
XYZxyz(17.5908, 27.4177, 6.8474)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9F2D #6D2D9F
analogous
#989F2D #5F9F2D #2D9F34
triadic
#5F9F2D #2D5F9F #9F2D5F
tetradic
#5F9F2D #2D989F #6D2D9F #9F342D
square
#5F9F2D #2D989F #6D2D9F #9F342D
split-complementary
#5F9F2D #342D9F #9F2D98
monochromatic
#264012 #436F20 #5F9F2D #7CC940 #9DD670

Accessibility & contrast

On white

3.24
#5F9F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5F9F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9F2D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9F2D#FFFFFF#000000##000000
##5F9F2D1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921A
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#5E9989
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f9f2d;
/* rgb */ color: rgb(95, 159, 45);
/* oklch */ color: oklch(63.6% 0.159 134.4);
Tailwind
colors: {
  custom: {
    50: '#92bc6d',
    500: '#5f9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f9f2d;
$custom-light: #92bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9f2d",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 93.684,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.63625,
    "c": 0.15945,
    "h": 134.4
  },
  "luminance": 0.27419
}

Semantic roles & 50–950 ramp

primary
#5F9F2D
secondary
#996ABE
accent
#49DF9D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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