#5F8113#5F8113

#5F8113 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#5F8113
RGBrgb(95, 129, 19)
HSLhsl(79, 74%, 29%)
HSVhsv(79, 85%, 51%)
CMYKcmyk(26.4%, 0%, 85.3%, 49.4%)
CIE-LABlab(49.71, -27.72, 49.97)
CIE-LCHlch(49.71, 57.14, 119.02°)
OKLaboklab(55.71% -0.0805 0.1089)
OKLCHoklch(55.71% 0.135 126.5)
XYZxyz(12.6872, 18.1802, 3.4567)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8113 #351381
analogous
#816C13 #5F8113 #288113
triadic
#5F8113 #135F81 #81135F
tetradic
#5F8113 #13816C #351381 #811328
square
#5F8113 #13816C #351381 #811328
split-complementary
#5F8113 #132881 #6C1381
monochromatic
#141B04 #384C0B #5F8113 #86B61B #A9E02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8113#FFFFFF#000000##000000
##5F81131.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)
#847620
Tritanopia (blue-blind)
#637A6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f8113;
/* rgb */ color: rgb(95, 129, 19);
/* oklch */ color: oklch(55.7% 0.135 126.5);
Tailwind
colors: {
  custom: {
    50: '#90a55d',
    500: '#5f8113',
    950: '#000000',
  },
}
SCSS
$custom: #5f8113;
$custom-light: #90a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8113",
  "rgb": {
    "r": 95,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 78.545,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.13542,
    "h": 126.5
  },
  "luminance": 0.1818
}

Semantic roles & 50–950 ramp

primary
#5F8113
secondary
#603AB6
accent
#37F170
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8113

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

Preview Lab → · Contrast checker → · Palette generator →

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