#5F942E#5F942E

#5F942E is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.8% C 0.144 H 132.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5F942E
RGBrgb(95, 148, 46)
HSLhsl(91, 53%, 38%)
HSVhsv(91, 69%, 58%)
CMYKcmyk(35.8%, 0%, 68.9%, 42%)
CIE-LABlab(55.90, -34.96, 46.41)
CIE-LCHlch(55.90, 58.11, 126.99°)
OKLaboklab(60.8% -0.0981 0.1057)
OKLCHoklch(60.8% 0.144 132.9)
XYZxyz(15.8021, 23.8093, 6.3473)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F942E #632E94
analogous
#92942E #5F942E #2E9430
triadic
#5F942E #2E5F94 #942E5F
tetradic
#5F942E #2E9294 #632E94 #94302E
square
#5F942E #2E9294 #632E94 #94302E
split-complementary
#5F942E #302E94 #942E92
monochromatic
#233711 #41651F #5F942E #7DC33D #9CD16B

Accessibility & contrast

On white

3.64
#5F942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5F942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F942E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F942E#FFFFFF#000000##000000
##5F942E1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891F
Deuteranopia (green-blind)
#938437
Tritanopia (blue-blind)
#608E7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f942e;
/* rgb */ color: rgb(95, 148, 46);
/* oklch */ color: oklch(60.8% 0.144 132.9);
Tailwind
colors: {
  custom: {
    50: '#90b46c',
    500: '#5f942e',
    950: '#000000',
  },
}
SCSS
$custom: #5f942e;
$custom-light: #90b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f942e",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 91.176,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.14422,
    "h": 132.9
  },
  "luminance": 0.2381
}

Semantic roles & 50–950 ramp

primary
#5F942E
secondary
#9166B8
accent
#4CDC97
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F942E

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

Preview Lab → · Contrast checker → · Palette generator →

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