#5F7C19#5F7C19

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

Color values

HEX#5F7C19
RGBrgb(95, 124, 25)
HSLhsl(78, 66%, 29%)
HSVhsv(78, 80%, 49%)
CMYKcmyk(23.4%, 0%, 79.8%, 51.4%)
CIE-LABlab(48.16, -24.99, 46.74)
CIE-LCHlch(48.16, 53.00, 118.14°)
OKLaboklab(54.46% -0.0726 0.1031)
OKLCHoklch(54.46% 0.126 125.2)
XYZxyz(12.1025, 16.9182, 3.5474)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7C19 #36197C
analogous
#7C6819 #5F7C19 #2E7C19
triadic
#5F7C19 #195F7C #7C195F
tetradic
#5F7C19 #197C68 #36197C #7C192E
square
#5F7C19 #197C68 #36197C #7C192E
split-complementary
#5F7C19 #192E7C #68197C
monochromatic
#141905 #38490F #5F7C19 #86AF23 #A9D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7C19#FFFFFF#000000##FFFFFF
##5F7C191.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)
#7F7223
Tritanopia (blue-blind)
#64766A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f7c19;
/* rgb */ color: rgb(95, 124, 25);
/* oklch */ color: oklch(54.5% 0.126 125.2);
Tailwind
colors: {
  custom: {
    50: '#90a25f',
    500: '#5f7c19',
    950: '#000000',
  },
}
SCSS
$custom: #5f7c19;
$custom-light: #90a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7c19",
  "rgb": {
    "r": 95,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 77.576,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.12612,
    "h": 125.2
  },
  "luminance": 0.16918
}

Semantic roles & 50–950 ramp

primary
#5F7C19
secondary
#6140B0
accent
#3EE971
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5F7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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