#5F7F14#5F7F14

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

Color values

HEX#5F7F14
RGBrgb(95, 127, 20)
HSLhsl(78, 73%, 29%)
HSVhsv(78, 84%, 50%)
CMYKcmyk(25.2%, 0%, 84.3%, 50.2%)
CIE-LABlab(49.08, -26.70, 49.14)
CIE-LCHlch(49.08, 55.92, 118.52°)
OKLaboklab(55.2% -0.0777 0.1073)
OKLCHoklch(55.2% 0.132 125.9)
XYZxyz(12.4350, 17.6619, 3.4156)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7F14 #34147F
analogous
#7F6A14 #5F7F14 #2A7F14
triadic
#5F7F14 #145F7F #7F145F
tetradic
#5F7F14 #147F6A #34147F #7F142A
square
#5F7F14 #147F6A #34147F #7F142A
split-complementary
#5F7F14 #142A7F #6A147F
monochromatic
#141A04 #374A0C #5F7F14 #87B41C #AADE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7F14#FFFFFF#000000##FFFFFF
##5F7F141.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)
#827420
Tritanopia (blue-blind)
#64796C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f7f14;
/* rgb */ color: rgb(95, 127, 20);
/* oklch */ color: oklch(55.2% 0.132 125.9);
Tailwind
colors: {
  custom: {
    50: '#90a45d',
    500: '#5f7f14',
    950: '#000000',
  },
}
SCSS
$custom: #5f7f14;
$custom-light: #90a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7f14",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 77.944,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.13246,
    "h": 125.9
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#5F7F14
secondary
#5F3BB4
accent
#38EF6F
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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