#5F8F1A#5F8F1A

#5F8F1A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.150 H 130.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5F8F1A
RGBrgb(95, 143, 26)
HSLhsl(85, 69%, 33%)
HSVhsv(85, 82%, 56%)
CMYKcmyk(33.6%, 0%, 81.8%, 43.9%)
CIE-LABlab(54.19, -33.97, 51.98)
CIE-LCHlch(54.19, 62.10, 123.17°)
OKLaboklab(59.37% -0.0969 0.1143)
OKLCHoklch(59.37% 0.15 130.3)
XYZxyz(14.7282, 22.1519, 4.4768)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8F1A #4A1A8F
analogous
#8F841A #5F8F1A #258F1A
triadic
#5F8F1A #1A5F8F #8F1A5F
tetradic
#5F8F1A #1A8F84 #4A1A8F #8F1A25
square
#5F8F1A #1A8F84 #4A1A8F #8F1A25
split-complementary
#5F8F1A #1A258F #841A8F
monochromatic
#1A2707 #3D5B11 #5F8F1A #81C323 #9FDD46

Accessibility & contrast

On white

3.87
#5F8F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5F8F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8F1A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8F1A#FFFFFF#000000##000000
##5F8F1A1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#61897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f8f1a;
/* rgb */ color: rgb(95, 143, 26);
/* oklch */ color: oklch(59.4% 0.150 130.3);
Tailwind
colors: {
  custom: {
    50: '#91b062',
    500: '#5f8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #5f8f1a;
$custom-light: #91b062;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8f1a",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 84.615,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59365,
    "c": 0.14988,
    "h": 130.3
  },
  "luminance": 0.22152
}

Semantic roles & 50–950 ramp

primary
#5F8F1A
secondary
#7846BF
accent
#3CEC84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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