#5F7F16#5F7F16

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

Color values

HEX#5F7F16
RGBrgb(95, 127, 22)
HSLhsl(78, 70%, 29%)
HSVhsv(78, 83%, 50%)
CMYKcmyk(25.2%, 0%, 82.7%, 50.2%)
CIE-LABlab(49.09, -26.62, 48.56)
CIE-LCHlch(49.09, 55.37, 118.73°)
OKLaboklab(55.21% -0.0773 0.1064)
OKLCHoklch(55.21% 0.132 126)
XYZxyz(12.4536, 17.6694, 3.5133)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7F16 #36167F
analogous
#7F6B16 #5F7F16 #2A7F16
triadic
#5F7F16 #165F7F #7F165F
tetradic
#5F7F16 #167F6B #36167F #7F162A
square
#5F7F16 #167F6B #36167F #7F162A
split-complementary
#5F7F16 #162A7F #6B167F
monochromatic
#141A05 #384B0D #5F7F16 #86B31F #A9DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7F16#FFFFFF#000000##FFFFFF
##5F7F161.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: #5f7f16;
/* rgb */ color: rgb(95, 127, 22);
/* oklch */ color: oklch(55.2% 0.132 126.0);
Tailwind
colors: {
  custom: {
    50: '#90a45e',
    500: '#5f7f16',
    950: '#000000',
  },
}
SCSS
$custom: #5f7f16;
$custom-light: #90a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7f16",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 78.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55214,
    "c": 0.13153,
    "h": 126
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#5F7F16
secondary
#613DB4
accent
#3BED71
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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