#5F7E15#5F7E15

#5F7E15 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.131 H 125.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5F7E15
RGBrgb(95, 126, 21)
HSLhsl(78, 71%, 29%)
HSVhsv(78, 83%, 49%)
CMYKcmyk(24.6%, 0%, 83.3%, 50.6%)
CIE-LABlab(48.77, -26.17, 48.57)
CIE-LCHlch(48.77, 55.17, 118.32°)
OKLaboklab(54.95% -0.0761 0.1063)
OKLCHoklch(54.95% 0.131 125.6)
XYZxyz(12.3156, 17.4086, 3.4207)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7E15 #34157E
analogous
#7E6915 #5F7E15 #2B7E15
triadic
#5F7E15 #155F7E #7E155F
tetradic
#5F7E15 #157E69 #34157E #7E152B
square
#5F7E15 #157E69 #34157E #7E152B
split-complementary
#5F7E15 #152B7E #69157E
monochromatic
#141A04 #374A0C #5F7E15 #87B21E #AADD31

Accessibility & contrast

On white

4.69
#5F7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5F7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7E15
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7E15#FFFFFF#000000##FFFFFF
##5F7E151.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#64786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f7e15;
/* rgb */ color: rgb(95, 126, 21);
/* oklch */ color: oklch(55.0% 0.131 125.6);
Tailwind
colors: {
  custom: {
    50: '#90a35d',
    500: '#5f7e15',
    950: '#000000',
  },
}
SCSS
$custom: #5f7e15;
$custom-light: #90a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7e15",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 77.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.13074,
    "h": 125.6
  },
  "luminance": 0.17409
}

Semantic roles & 50–950 ramp

primary
#5F7E15
secondary
#5F3CB3
accent
#3AEE6F
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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