#5F7E14#5F7E14

#5F7E14 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.131 H 125.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5F7E14
RGBrgb(95, 126, 20)
HSLhsl(78, 73%, 29%)
HSVhsv(78, 84%, 49%)
CMYKcmyk(24.6%, 0%, 84.1%, 50.6%)
CIE-LABlab(48.77, -26.21, 48.85)
CIE-LCHlch(48.77, 55.44, 118.22°)
OKLaboklab(54.95% -0.0763 0.1067)
OKLCHoklch(54.95% 0.131 125.6)
XYZxyz(12.3065, 17.4049, 3.3728)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7E14 #33147E
analogous
#7E6814 #5F7E14 #2A7E14
triadic
#5F7E14 #145F7E #7E145F
tetradic
#5F7E14 #147E68 #33147E #7E142A
square
#5F7E14 #147E68 #33147E #7E142A
split-complementary
#5F7E14 #142A7E #68147E
monochromatic
#141A04 #37490C #5F7E14 #87B31C #ABDE2E

Accessibility & contrast

On white

4.69
#5F7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F7E14
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7E14#FFFFFF#000000##FFFFFF
##5F7E141.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#64786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5f7e14;
/* rgb */ color: rgb(95, 126, 20);
/* oklch */ color: oklch(54.9% 0.131 125.6);
Tailwind
colors: {
  custom: {
    50: '#90a35d',
    500: '#5f7e14',
    950: '#000000',
  },
}
SCSS
$custom: #5f7e14;
$custom-light: #90a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7e14",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 77.547,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54947,
    "c": 0.1312,
    "h": 125.6
  },
  "luminance": 0.17405
}

Semantic roles & 50–950 ramp

primary
#5F7E14
secondary
#5E3AB3
accent
#38EF6E
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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