#5F7617#5F7617

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

Color values

HEX#5F7617
RGBrgb(95, 118, 23)
HSLhsl(75, 67%, 28%)
HSVhsv(75, 81%, 46%)
CMYKcmyk(19.5%, 0%, 80.5%, 53.7%)
CIE-LABlab(46.25, -22.07, 45.64)
CIE-LCHlch(46.25, 50.69, 115.81°)
OKLaboklab(52.91% -0.0648 0.1004)
OKLCHoklch(52.91% 0.12 122.8)
XYZxyz(11.3526, 15.4516, 3.1948)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7617 #2E1776
analogous
#765D17 #5F7617 #307617
triadic
#5F7617 #175F76 #76175F
tetradic
#5F7617 #17765D #2E1776 #761730
square
#5F7617 #17765D #2E1776 #761730
split-complementary
#5F7617 #173076 #5D1776
monochromatic
#151A05 #36430D #5F7617 #88A921 #AFD731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7617#FFFFFF#000000##FFFFFF
##5F76171.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)
#7D6E00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#647064
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7617;
/* rgb */ color: rgb(95, 118, 23);
/* oklch */ color: oklch(52.9% 0.120 122.8);
Tailwind
colors: {
  custom: {
    50: '#909d5d',
    500: '#5f7617',
    950: '#000000',
  },
}
SCSS
$custom: #5f7617;
$custom-light: #909d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7617",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 74.526,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.11951,
    "h": 122.8
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#5F7617
secondary
#583EAB
accent
#3EEA67
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7617

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

Preview Lab → · Contrast checker → · Palette generator →

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