#5F941C#5F941C

#5F941C is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.7% C 0.155 H 131.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5F941C
RGBrgb(95, 148, 28)
HSLhsl(87, 68%, 35%)
HSVhsv(87, 81%, 58%)
CMYKcmyk(35.8%, 0%, 81.1%, 42%)
CIE-LABlab(55.78, -36.12, 52.84)
CIE-LCHlch(55.78, 64.01, 124.36°)
OKLaboklab(60.67% -0.1026 0.1165)
OKLCHoklch(60.67% 0.155 131.4)
XYZxyz(15.5187, 23.6959, 4.8545)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F941C #511C94
analogous
#948D1C #5F941C #23941C
triadic
#5F941C #1C5F94 #941C5F
tetradic
#5F941C #1C948D #511C94 #941C23
square
#5F941C #1C948D #511C94 #941C23
split-complementary
#5F941C #1C2394 #8D1C94
monochromatic
#1D2D09 #3E6112 #5F941C #80C726 #9EDD4D

Accessibility & contrast

On white

3.66
#5F941C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5F941C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F941C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F941C#FFFFFF#000000##000000
##5F941C1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#948429
Tritanopia (blue-blind)
#618D7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f941c;
/* rgb */ color: rgb(95, 148, 28);
/* oklch */ color: oklch(60.7% 0.155 131.4);
Tailwind
colors: {
  custom: {
    50: '#91b463',
    500: '#5f941c',
    950: '#000000',
  },
}
SCSS
$custom: #5f941c;
$custom-light: #91b463;
$custom-dark: #000000;
JSON
{
  "hex": "#5f941c",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 86.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60669,
    "c": 0.1552,
    "h": 131.4
  },
  "luminance": 0.23697
}

Semantic roles & 50–950 ramp

primary
#5F941C
secondary
#7F4CC0
accent
#3DEB8A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F941C

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

Preview Lab → · Contrast checker → · Palette generator →

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