#5F9A2C#5F9A2C

#5F9A2C is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.3% C 0.154 H 133.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5F9A2C
RGBrgb(95, 154, 44)
HSLhsl(92, 56%, 39%)
HSVhsv(92, 71%, 60%)
CMYKcmyk(38.3%, 0%, 71.4%, 39.6%)
CIE-LABlab(57.78, -37.79, 49.17)
CIE-LCHlch(57.78, 62.01, 127.54°)
OKLaboklab(62.33% -0.1059 0.1112)
OKLCHoklch(62.33% 0.154 133.6)
XYZxyz(16.7293, 25.7252, 6.4664)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9A2C #672C9A
analogous
#969A2C #5F9A2C #2C9A30
triadic
#5F9A2C #2C5F9A #9A2C5F
tetradic
#5F9A2C #2C969A #672C9A #9A302C
square
#5F9A2C #2C969A #672C9A #9A302C
split-complementary
#5F9A2C #302C9A #9A2C96
monochromatic
#243B11 #426A1E #5F9A2C #7DC73C #9CD56C

Accessibility & contrast

On white

3.42
#5F9A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#5F9A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9A2C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9A2C#FFFFFF#000000##000000
##5F9A2C1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1A
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#5F9484
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f9a2c;
/* rgb */ color: rgb(95, 154, 44);
/* oklch */ color: oklch(62.3% 0.154 133.6);
Tailwind
colors: {
  custom: {
    50: '#91b86c',
    500: '#5f9a2c',
    950: '#000000',
  },
}
SCSS
$custom: #5f9a2c;
$custom-light: #91b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9a2c",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 92.182,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62328,
    "c": 0.15359,
    "h": 133.6
  },
  "luminance": 0.25726
}

Semantic roles & 50–950 ramp

primary
#5F9A2C
secondary
#9466BC
accent
#49DF99
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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