#5F8115#5F8115

#5F8115 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.135 H 126.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5F8115
RGBrgb(95, 129, 21)
HSLhsl(79, 72%, 29%)
HSVhsv(79, 84%, 51%)
CMYKcmyk(26.4%, 0%, 83.7%, 49.4%)
CIE-LABlab(49.72, -27.63, 49.42)
CIE-LCHlch(49.72, 56.62, 119.21°)
OKLaboklab(55.72% -0.0801 0.1081)
OKLCHoklch(55.72% 0.135 126.5)
XYZxyz(12.7050, 18.1873, 3.5505)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8115 #371581
analogous
#816D15 #5F8115 #298115
triadic
#5F8115 #155F81 #81155F
tetradic
#5F8115 #15816D #371581 #811529
square
#5F8115 #15816D #371581 #811529
split-complementary
#5F8115 #152981 #6D1581
monochromatic
#131A04 #384C0C #5F8115 #86B61E #A8DE33

Accessibility & contrast

On white

4.53
#5F8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5F8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8115
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8115#FFFFFF#000000##000000
##5F81151.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#637B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f8115;
/* rgb */ color: rgb(95, 129, 21);
/* oklch */ color: oklch(55.7% 0.135 126.5);
Tailwind
colors: {
  custom: {
    50: '#90a55e',
    500: '#5f8115',
    950: '#000000',
  },
}
SCSS
$custom: #5f8115;
$custom-light: #90a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8115",
  "rgb": {
    "r": 95,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 78.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55724,
    "c": 0.13454,
    "h": 126.5
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#5F8115
secondary
#623CB6
accent
#39EF72
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8115

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

Preview Lab → · Contrast checker → · Palette generator →

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