#5F7615#5F7615

#5F7615 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.9% C 0.121 H 122.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5F7615
RGBrgb(95, 118, 21)
HSLhsl(74, 70%, 27%)
HSVhsv(74, 82%, 46%)
CMYKcmyk(19.5%, 0%, 82.2%, 53.7%)
CIE-LABlab(46.24, -22.16, 46.28)
CIE-LCHlch(46.24, 51.31, 115.59°)
OKLaboklab(52.9% -0.0652 0.1014)
OKLCHoklch(52.9% 0.121 122.7)
XYZxyz(11.3333, 15.4439, 3.0932)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7615 #2C1576
analogous
#765D15 #5F7615 #2E7615
triadic
#5F7615 #155F76 #76155F
tetradic
#5F7615 #15765D #2C1576 #76152E
square
#5F7615 #15765D #2C1576 #76152E
split-complementary
#5F7615 #152E76 #5D1576
monochromatic
#151A05 #35420C #5F7615 #89AA1E #B0D92C

Accessibility & contrast

On white

5.14
#5F7615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F7615
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7615#FFFFFF#000000##FFFFFF
##5F76151.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f7615;
/* rgb */ color: rgb(95, 118, 21);
/* oklch */ color: oklch(52.9% 0.121 122.7);
Tailwind
colors: {
  custom: {
    50: '#909d5c',
    500: '#5f7615',
    950: '#000000',
  },
}
SCSS
$custom: #5f7615;
$custom-light: #909d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7615",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 74.227,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.12059,
    "h": 122.7
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#5F7615
secondary
#563BAC
accent
#3BED65
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7615

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

Preview Lab → · Contrast checker → · Palette generator →

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