#5F9C2A#5F9C2A

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

Color values

HEX#5F9C2A
RGBrgb(95, 156, 42)
HSLhsl(92, 58%, 39%)
HSVhsv(92, 73%, 61%)
CMYKcmyk(39.1%, 0%, 73.1%, 38.8%)
CIE-LABlab(58.39, -38.80, 50.56)
CIE-LCHlch(58.39, 63.74, 127.50°)
OKLaboklab(62.83% -0.1088 0.1139)
OKLCHoklch(62.83% 0.158 133.7)
XYZxyz(17.0254, 26.3762, 6.3841)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9C2A #672A9C
analogous
#989C2A #5F9C2A #2A9C2E
triadic
#5F9C2A #2A5F9C #9C2A5F
tetradic
#5F9C2A #2A989C #672A9C #9C2E2A
square
#5F9C2A #2A989C #672A9C #9C2E2A
split-complementary
#5F9C2A #2E2A9C #9C2A98
monochromatic
#243C10 #426C1D #5F9C2A #7DCA39 #9CD76A

Accessibility & contrast

On white

3.35
#5F9C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9C2A#FFFFFF#000000##000000
##5F9C2A1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f9c2a;
/* rgb */ color: rgb(95, 156, 42);
/* oklch */ color: oklch(62.8% 0.158 133.7);
Tailwind
colors: {
  custom: {
    50: '#91b96b',
    500: '#5f9c2a',
    950: '#000000',
  },
}
SCSS
$custom: #5f9c2a;
$custom-light: #91b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9c2a",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 92.105,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62828,
    "c": 0.15751,
    "h": 133.7
  },
  "luminance": 0.26377
}

Semantic roles & 50–950 ramp

primary
#5F9C2A
secondary
#9465BD
accent
#47E199
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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