#5F8015#5F8015

#5F8015 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.133 H 126.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F8015
RGBrgb(95, 128, 21)
HSLhsl(79, 72%, 29%)
HSVhsv(79, 84%, 50%)
CMYKcmyk(25.8%, 0%, 83.6%, 49.8%)
CIE-LABlab(49.41, -27.15, 49.13)
CIE-LCHlch(49.41, 56.14, 118.92°)
OKLaboklab(55.47% -0.0788 0.1075)
OKLCHoklch(55.47% 0.133 126.2)
XYZxyz(12.5739, 17.9252, 3.5068)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8015 #361580
analogous
#806C15 #5F8015 #298015
triadic
#5F8015 #155F80 #80155F
tetradic
#5F8015 #15806C #361580 #801529
square
#5F8015 #15806C #361580 #801529
split-complementary
#5F8015 #152980 #6C1580
monochromatic
#141A04 #384B0C #5F8015 #86B51E #A9DD32

Accessibility & contrast

On white

4.58
#5F8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5F8015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8015
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8015#FFFFFF#000000##000000
##5F80151.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#637A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f8015;
/* rgb */ color: rgb(95, 128, 21);
/* oklch */ color: oklch(55.5% 0.133 126.2);
Tailwind
colors: {
  custom: {
    50: '#90a55e',
    500: '#5f8015',
    950: '#000000',
  },
}
SCSS
$custom: #5f8015;
$custom-light: #90a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8015",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 78.505,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55466,
    "c": 0.13326,
    "h": 126.2
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#5F8015
secondary
#613CB5
accent
#39EF71
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8015

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

Preview Lab → · Contrast checker → · Palette generator →

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