#5F7715#5F7715

#5F7715 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.2% C 0.122 H 123.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5F7715
RGBrgb(95, 119, 21)
HSLhsl(75, 70%, 27%)
HSVhsv(75, 82%, 47%)
CMYKcmyk(20.2%, 0%, 82.4%, 53.3%)
CIE-LABlab(46.55, -22.67, 46.56)
CIE-LCHlch(46.55, 51.79, 115.96°)
OKLaboklab(53.15% -0.0666 0.102)
OKLCHoklch(53.15% 0.122 123.1)
XYZxyz(11.4517, 15.6806, 3.1327)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7715 #2D1577
analogous
#775E15 #5F7715 #2E7715
triadic
#5F7715 #155F77 #77155F
tetradic
#5F7715 #15775E #2D1577 #77152E
square
#5F7715 #15775E #2D1577 #77152E
split-complementary
#5F7715 #152E77 #5E1577
monochromatic
#151A05 #35430C #5F7715 #89AB1E #AFDA2D

Accessibility & contrast

On white

5.08
#5F7715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5F7715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7715
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7715#FFFFFF#000000##FFFFFF
##5F77151.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7B6E1F
Tritanopia (blue-blind)
#647165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7715;
/* rgb */ color: rgb(95, 119, 21);
/* oklch */ color: oklch(53.2% 0.122 123.1);
Tailwind
colors: {
  custom: {
    50: '#909e5c',
    500: '#5f7715',
    950: '#000000',
  },
}
SCSS
$custom: #5f7715;
$custom-light: #909e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7715",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 74.694,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53155,
    "c": 0.12185,
    "h": 123.1
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#5F7715
secondary
#573BAD
accent
#3BED67
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7715

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

Preview Lab → · Contrast checker → · Palette generator →

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