#5F952E#5F952E

#5F952E is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.1% C 0.146 H 133.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F952E
RGBrgb(95, 149, 46)
HSLhsl(91, 53%, 38%)
HSVhsv(91, 69%, 58%)
CMYKcmyk(36.2%, 0%, 69.1%, 41.6%)
CIE-LABlab(56.21, -35.41, 46.74)
CIE-LCHlch(56.21, 58.64, 127.15°)
OKLaboklab(61.06% -0.0993 0.1064)
OKLCHoklch(61.06% 0.146 133)
XYZxyz(15.9597, 24.1244, 6.3998)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F952E #642E95
analogous
#92952E #5F952E #2E9530
triadic
#5F952E #2E5F95 #952E5F
tetradic
#5F952E #2E9295 #642E95 #95302E
square
#5F952E #2E9295 #642E95 #95302E
split-complementary
#5F952E #302E95 #952E92
monochromatic
#233711 #416620 #5F952E #7DC33D #9CD26C

Accessibility & contrast

On white

3.61
#5F952E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5F952E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F952E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F952E#FFFFFF#000000##000000
##5F952E1.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891F
Deuteranopia (green-blind)
#948537
Tritanopia (blue-blind)
#608F80
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f952e;
/* rgb */ color: rgb(95, 149, 46);
/* oklch */ color: oklch(61.1% 0.146 133.0);
Tailwind
colors: {
  custom: {
    50: '#91b46d',
    500: '#5f952e',
    950: '#000000',
  },
}
SCSS
$custom: #5f952e;
$custom-light: #91b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f952e",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 46
  },
  "hsl": {
    "h": 91.456,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.14556,
    "h": 133
  },
  "luminance": 0.24125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F952E

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

Preview Lab → · Contrast checker → · Palette generator →

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