#5F931F#5F931F

#5F931F is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.4% C 0.152 H 131.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5F931F
RGBrgb(95, 147, 31)
HSLhsl(87, 65%, 35%)
HSVhsv(87, 79%, 58%)
CMYKcmyk(35.4%, 0%, 78.9%, 42.4%)
CIE-LABlab(55.48, -35.52, 51.62)
CIE-LCHlch(55.48, 62.66, 124.54°)
OKLaboklab(60.43% -0.1008 0.1144)
OKLCHoklch(60.43% 0.152 131.4)
XYZxyz(15.4002, 23.3987, 5.0010)
Luminance0.2340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F931F #531F93
analogous
#938D1F #5F931F #25931F
triadic
#5F931F #1F5F93 #931F5F
tetradic
#5F931F #1F938D #531F93 #931F25
square
#5F931F #1F938D #531F93 #931F25
split-complementary
#5F931F #1F2593 #8D1F93
monochromatic
#1E2E0A #3E6014 #5F931F #80C62A #9DDA52

Accessibility & contrast

On white

3.70
#5F931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5F931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F931F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F931F#FFFFFF#000000##000000
##5F931F1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#618D7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f931f;
/* rgb */ color: rgb(95, 147, 31);
/* oklch */ color: oklch(60.4% 0.152 131.4);
Tailwind
colors: {
  custom: {
    50: '#91b365',
    500: '#5f931f',
    950: '#000000',
  },
}
SCSS
$custom: #5f931f;
$custom-light: #91b365;
$custom-dark: #000000;
JSON
{
  "hex": "#5f931f",
  "rgb": {
    "r": 95,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 86.897,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.15242,
    "h": 131.4
  },
  "luminance": 0.23399
}

Semantic roles & 50–950 ramp

primary
#5F931F
secondary
#8150BE
accent
#40E88B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F931F

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

Preview Lab → · Contrast checker → · Palette generator →

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