#5F7718#5F7718

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

Color values

HEX#5F7718
RGBrgb(95, 119, 24)
HSLhsl(75, 66%, 28%)
HSVhsv(75, 80%, 47%)
CMYKcmyk(20.2%, 0%, 79.8%, 53.3%)
CIE-LABlab(46.57, -22.53, 45.59)
CIE-LCHlch(46.57, 50.86, 116.29°)
OKLaboklab(53.17% -0.066 0.1005)
OKLCHoklch(53.17% 0.12 123.3)
XYZxyz(11.4812, 15.6924, 3.2881)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7718 #301877
analogous
#775F18 #5F7718 #2F7718
triadic
#5F7718 #185F77 #77185F
tetradic
#5F7718 #18775F #301877 #77182F
square
#5F7718 #18775F #301877 #77182F
split-complementary
#5F7718 #182F77 #5F1877
monochromatic
#141905 #36440E #5F7718 #88AA22 #ADD633

Accessibility & contrast

On white

5.07
#5F7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F7718
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7718#FFFFFF#000000##FFFFFF
##5F77181.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f7718;
/* rgb */ color: rgb(95, 119, 24);
/* oklch */ color: oklch(53.2% 0.120 123.3);
Tailwind
colors: {
  custom: {
    50: '#909e5e',
    500: '#5f7718',
    950: '#000000',
  },
}
SCSS
$custom: #5f7718;
$custom-light: #909e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7718",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 75.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.12024,
    "h": 123.3
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#5F7718
secondary
#5A3FAC
accent
#3EE96A
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F7718

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

Preview Lab → · Contrast checker → · Palette generator →

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