#5F6718#5F6718

#5F6718 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.100 H 115.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5F6718
RGBrgb(95, 103, 24)
HSLhsl(66, 62%, 25%)
HSVhsv(66, 77%, 40%)
CMYKcmyk(7.8%, 0%, 76.7%, 59.6%)
CIE-LABlab(41.53, -14.04, 40.83)
CIE-LCHlch(41.53, 43.18, 108.98°)
OKLaboklab(49.11% -0.0426 0.0905)
OKLCHoklch(49.11% 0.1 115.2)
XYZxyz(9.7347, 12.1995, 2.7059)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6718 #201867
analogous
#674818 #5F6718 #376718
triadic
#5F6718 #185F67 #67185F
tetradic
#5F6718 #186748 #201867 #671837
square
#5F6718 #186748 #201867 #671837
split-complementary
#5F6718 #183767 #481867
monochromatic
#171906 #31350C #5F6718 #8D9924 #BBCA2F

Accessibility & contrast

On white

6.11
#5F6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5F6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6718
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6718#FFFFFF#000000##FFFFFF
##5F67181.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6109
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#666158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f6718;
/* rgb */ color: rgb(95, 103, 24);
/* oklch */ color: oklch(49.1% 0.100 115.2);
Tailwind
colors: {
  custom: {
    50: '#8f925b',
    500: '#5f6718',
    950: '#000000',
  },
}
SCSS
$custom: #5f6718;
$custom-light: #8f925b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6718",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 66.076,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.1,
    "h": 115.2
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#5F6718
secondary
#473E9D
accent
#43E553
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5F6718

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

Preview Lab → · Contrast checker → · Palette generator →

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