#5F7F15#5F7F15

#5F7F15 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.2% C 0.132 H 125.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5F7F15
RGBrgb(95, 127, 21)
HSLhsl(78, 72%, 29%)
HSVhsv(78, 83%, 50%)
CMYKcmyk(25.2%, 0%, 83.5%, 50.2%)
CIE-LABlab(49.09, -26.66, 48.85)
CIE-LCHlch(49.09, 55.65, 118.63°)
OKLaboklab(55.21% -0.0775 0.1069)
OKLCHoklch(55.21% 0.132 125.9)
XYZxyz(12.4441, 17.6656, 3.4635)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7F15 #35157F
analogous
#7F6A15 #5F7F15 #2A7F15
triadic
#5F7F15 #155F7F #7F155F
tetradic
#5F7F15 #157F6A #35157F #7F152A
square
#5F7F15 #157F6A #35157F #7F152A
split-complementary
#5F7F15 #152A7F #6A157F
monochromatic
#141A04 #384A0C #5F7F15 #86B41E #A9DD31

Accessibility & contrast

On white

4.63
#5F7F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5F7F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7F15
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7F15#FFFFFF#000000##FFFFFF
##5F7F151.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#63796C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f7f15;
/* rgb */ color: rgb(95, 127, 21);
/* oklch */ color: oklch(55.2% 0.132 125.9);
Tailwind
colors: {
  custom: {
    50: '#90a45d',
    500: '#5f7f15',
    950: '#000000',
  },
}
SCSS
$custom: #5f7f15;
$custom-light: #90a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7f15",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 78.113,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.132,
    "h": 125.9
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#5F7F15
secondary
#603CB4
accent
#39EE70
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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