#5F7E16#5F7E16

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

Color values

HEX#5F7E16
RGBrgb(95, 126, 22)
HSLhsl(78, 70%, 29%)
HSVhsv(78, 83%, 49%)
CMYKcmyk(24.6%, 0%, 82.5%, 50.6%)
CIE-LABlab(48.78, -26.13, 48.27)
CIE-LCHlch(48.78, 54.89, 118.43°)
OKLaboklab(54.96% -0.076 0.1058)
OKLCHoklch(54.96% 0.13 125.7)
XYZxyz(12.3251, 17.4123, 3.4705)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7E16 #35167E
analogous
#7E6916 #5F7E16 #2B7E16
triadic
#5F7E16 #165F7E #7E165F
tetradic
#5F7E16 #167E69 #35167E #7E162B
square
#5F7E16 #167E69 #35167E #7E162B
split-complementary
#5F7E16 #162B7E #69167E
monochromatic
#141A05 #384A0D #5F7E16 #86B21F #A9DB33

Accessibility & contrast

On white

4.68
#5F7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F7E16
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7E16#FFFFFF#000000##FFFFFF
##5F7E161.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.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: #5f7e16;
/* rgb */ color: rgb(95, 126, 22);
/* oklch */ color: oklch(55.0% 0.130 125.7);
Tailwind
colors: {
  custom: {
    50: '#90a35e',
    500: '#5f7e16',
    950: '#000000',
  },
}
SCSS
$custom: #5f7e16;
$custom-light: #90a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7e16",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 77.885,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.13025,
    "h": 125.7
  },
  "luminance": 0.17413
}

Semantic roles & 50–950 ramp

primary
#5F7E16
secondary
#603DB3
accent
#3BED70
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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