#5F7619#5F7619

#5F7619 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.118 H 122.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F7619
RGBrgb(95, 118, 25)
HSLhsl(75, 65%, 28%)
HSVhsv(75, 79%, 46%)
CMYKcmyk(19.5%, 0%, 78.8%, 53.7%)
CIE-LABlab(46.26, -21.96, 44.96)
CIE-LCHlch(46.26, 50.04, 116.04°)
OKLaboklab(52.92% -0.0644 0.0993)
OKLCHoklch(52.92% 0.118 122.9)
XYZxyz(11.3734, 15.4599, 3.3044)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7619 #301976
analogous
#765E19 #5F7619 #307619
triadic
#5F7619 #195F76 #76195F
tetradic
#5F7619 #19765E #301976 #761930
square
#5F7619 #19765E #301976 #761930
split-complementary
#5F7619 #193076 #5E1976
monochromatic
#141905 #36430E #5F7619 #88A824 #ADD435

Accessibility & contrast

On white

5.13
#5F7619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5F7619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7619
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7619#FFFFFF#000000##FFFFFF
##5F76191.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E04
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#647064
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7619;
/* rgb */ color: rgb(95, 118, 25);
/* oklch */ color: oklch(52.9% 0.118 122.9);
Tailwind
colors: {
  custom: {
    50: '#8f9d5e',
    500: '#5f7619',
    950: '#000000',
  },
}
SCSS
$custom: #5f7619;
$custom-light: #8f9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7619",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 25
  },
  "hsl": {
    "h": 74.839,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.11837,
    "h": 122.9
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#5F7619
secondary
#5A40AB
accent
#40E869
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7619

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

Preview Lab → · Contrast checker → · Palette generator →

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