#5F7613#5F7613

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

Color values

HEX#5F7613
RGBrgb(95, 118, 19)
HSLhsl(74, 72%, 27%)
HSVhsv(74, 84%, 46%)
CMYKcmyk(19.5%, 0%, 83.9%, 53.7%)
CIE-LABlab(46.23, -22.25, 46.88)
CIE-LCHlch(46.23, 51.90, 115.39°)
OKLaboklab(52.89% -0.0656 0.1024)
OKLCHoklch(52.89% 0.122 122.7)
XYZxyz(11.3155, 15.4367, 2.9994)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7613 #2A1376
analogous
#765C13 #5F7613 #2E7613
triadic
#5F7613 #135F76 #76135F
tetradic
#5F7613 #13765C #2A1376 #76132E
square
#5F7613 #13765C #2A1376 #76132E
split-complementary
#5F7613 #132E76 #5C1376
monochromatic
#151A04 #35410B #5F7613 #89AB1B #B2DC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F7613#FFFFFF#000000##FFFFFF
##5F76131.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: #5f7613;
/* rgb */ color: rgb(95, 118, 19);
/* oklch */ color: oklch(52.9% 0.122 122.7);
Tailwind
colors: {
  custom: {
    50: '#909d5b',
    500: '#5f7613',
    950: '#000000',
  },
}
SCSS
$custom: #5f7613;
$custom-light: #909d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7613",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 19
  },
  "hsl": {
    "h": 73.939,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52888,
    "c": 0.12158,
    "h": 122.7
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#5F7613
secondary
#5339AC
accent
#39EF63
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7613

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

Preview Lab → · Contrast checker → · Palette generator →

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