#5F7614#5F7614

#5F7614 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#5F7614
RGBrgb(95, 118, 20)
HSLhsl(74, 71%, 27%)
HSVhsv(74, 83%, 46%)
CMYKcmyk(19.5%, 0%, 83.1%, 53.7%)
CIE-LABlab(46.23, -22.21, 46.59)
CIE-LCHlch(46.23, 51.61, 115.49°)
OKLaboklab(52.89% -0.0654 0.1019)
OKLCHoklch(52.89% 0.121 122.7)
XYZxyz(11.3242, 15.4402, 3.0454)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7614 #2B1476
analogous
#765C14 #5F7614 #2E7614
triadic
#5F7614 #145F76 #76145F
tetradic
#5F7614 #14765C #2B1476 #76142E
square
#5F7614 #14765C #2B1476 #76142E
split-complementary
#5F7614 #142E76 #5C1476
monochromatic
#151A04 #35420B #5F7614 #89AA1D #B1DB2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7614#FFFFFF#000000##FFFFFF
##5F76141.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)
#7B6D1E
Tritanopia (blue-blind)
#647064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f7614;
/* rgb */ color: rgb(95, 118, 20);
/* oklch */ color: oklch(52.9% 0.121 122.7);
Tailwind
colors: {
  custom: {
    50: '#909d5c',
    500: '#5f7614',
    950: '#000000',
  },
}
SCSS
$custom: #5f7614;
$custom-light: #909d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7614",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 20
  },
  "hsl": {
    "h": 74.082,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.12109,
    "h": 122.7
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#5F7614
secondary
#553AAC
accent
#3AEE64
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7614

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

Preview Lab → · Contrast checker → · Palette generator →

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