#5F9F1C#5F9F1C

#5F9F1C is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.5% C 0.169 H 133.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5F9F1C
RGBrgb(95, 159, 28)
HSLhsl(89, 70%, 37%)
HSVhsv(89, 82%, 62%)
CMYKcmyk(40.3%, 0%, 82.4%, 37.6%)
CIE-LABlab(59.26, -40.90, 56.02)
CIE-LCHlch(59.26, 69.36, 126.13°)
OKLaboklab(63.52% -0.1154 0.1232)
OKLCHoklch(63.52% 0.169 133.1)
XYZxyz(17.3268, 27.3122, 5.4572)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9F1C #5C1C9F
analogous
#9F9E1C #5F9F1C #1E9F1C
triadic
#5F9F1C #1C5F9F #9F1C5F
tetradic
#5F9F1C #1C9F9E #5C1C9F #9F1C1E
square
#5F9F1C #1C9F9E #5C1C9F #9F1C1E
split-complementary
#5F9F1C #1C1E9F #9E1C9F
monochromatic
#21370A #406B13 #5F9F1C #7ED325 #9CE154

Accessibility & contrast

On white

3.25
#5F9F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5F9F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9F1C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9F1C#FFFFFF#000000##000000
##5F9F1C1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#5F9887
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f9f1c;
/* rgb */ color: rgb(95, 159, 28);
/* oklch */ color: oklch(63.5% 0.169 133.1);
Tailwind
colors: {
  custom: {
    50: '#92bc65',
    500: '#5f9f1c',
    950: '#000000',
  },
}
SCSS
$custom: #5f9f1c;
$custom-light: #92bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9f1c",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 89.313,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63515,
    "c": 0.1688,
    "h": 133.1
  },
  "luminance": 0.27313
}

Semantic roles & 50–950 ramp

primary
#5F9F1C
secondary
#8A53C4
accent
#3BED92
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5F9F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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