#5F7C14#5F7C14

#5F7C14 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.129 H 124.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5F7C14
RGBrgb(95, 124, 20)
HSLhsl(77, 72%, 28%)
HSVhsv(77, 84%, 49%)
CMYKcmyk(23.4%, 0%, 83.9%, 51.4%)
CIE-LABlab(48.13, -25.23, 48.29)
CIE-LCHlch(48.13, 54.48, 117.58°)
OKLaboklab(54.43% -0.0736 0.1055)
OKLCHoklch(54.43% 0.129 124.9)
XYZxyz(12.0534, 16.8986, 3.2884)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7C14 #31147C
analogous
#7C6514 #5F7C14 #2B7C14
triadic
#5F7C14 #145F7C #7C145F
tetradic
#5F7C14 #147C65 #31147C #7C142B
square
#5F7C14 #147C65 #31147C #7C142B
split-complementary
#5F7C14 #142B7C #65147C
monochromatic
#141A04 #37470B #5F7C14 #87B11D #ACDD2D

Accessibility & contrast

On white

4.79
#5F7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5F7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7C14
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7C14#FFFFFF#000000##FFFFFF
##5F7C141.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#647669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f7c14;
/* rgb */ color: rgb(95, 124, 20);
/* oklch */ color: oklch(54.4% 0.129 124.9);
Tailwind
colors: {
  custom: {
    50: '#90a25d',
    500: '#5f7c14',
    950: '#000000',
  },
}
SCSS
$custom: #5f7c14;
$custom-light: #90a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7c14",
  "rgb": {
    "r": 95,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 76.731,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54432,
    "c": 0.12867,
    "h": 124.9
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#5F7C14
secondary
#5C3AB2
accent
#39EF6C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5F7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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