#5F7716#5F7716

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

Color values

HEX#5F7716
RGBrgb(95, 119, 22)
HSLhsl(75, 69%, 28%)
HSVhsv(75, 82%, 47%)
CMYKcmyk(20.2%, 0%, 81.5%, 53.3%)
CIE-LABlab(46.56, -22.62, 46.25)
CIE-LCHlch(46.56, 51.49, 116.07°)
OKLaboklab(53.16% -0.0664 0.1015)
OKLCHoklch(53.16% 0.121 123.2)
XYZxyz(11.4611, 15.6844, 3.1825)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7716 #2E1677
analogous
#775E16 #5F7716 #2F7716
triadic
#5F7716 #165F77 #77165F
tetradic
#5F7716 #16775E #2E1677 #77162F
square
#5F7716 #16775E #2E1677 #77162F
split-complementary
#5F7716 #162F77 #5E1677
monochromatic
#151A05 #36430C #5F7716 #88AB20 #AFD92F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7716#FFFFFF#000000##FFFFFF
##5F77161.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)
#7B6E20
Tritanopia (blue-blind)
#647165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7716;
/* rgb */ color: rgb(95, 119, 22);
/* oklch */ color: oklch(53.2% 0.121 123.2);
Tailwind
colors: {
  custom: {
    50: '#909e5d',
    500: '#5f7716',
    950: '#000000',
  },
}
SCSS
$custom: #5f7716;
$custom-light: #909e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7716",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 74.845,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.12133,
    "h": 123.2
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#5F7716
secondary
#583CAC
accent
#3CEC68
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7716

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

Preview Lab → · Contrast checker → · Palette generator →

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