#8F7618#8F7618

#8F7618 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.4% C 0.110 H 92.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8F7618
RGBrgb(143, 118, 24)
HSLhsl(47, 71%, 33%)
HSVhsv(47, 83%, 56%)
CMYKcmyk(0%, 17.5%, 83.2%, 43.9%)
CIE-LABlab(50.53, 0.23, 50.76)
CIE-LCHlch(50.53, 50.76, 89.74°)
OKLaboklab(57.37% -0.0052 0.1095)
OKLCHoklch(57.37% 0.11 92.7)
XYZxyz(17.9721, 18.8636, 3.5584)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7618 #18318F
analogous
#8F3B18 #8F7618 #6C8F18
triadic
#8F7618 #188F76 #76188F
tetradic
#8F7618 #188F3B #18318F #8F186C
square
#8F7618 #188F3B #18318F #8F186C
split-complementary
#8F7618 #186C8F #3B188F
monochromatic
#262006 #5B4B0F #8F7618 #C3A121 #DFBE42

Accessibility & contrast

On white

4.40
#8F7618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8F7618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7618
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7618#FFFFFF#000000##000000
##8F76181.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#9B6B65
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f7618;
/* rgb */ color: rgb(143, 118, 24);
/* oklch */ color: oklch(57.4% 0.110 92.7);
Tailwind
colors: {
  custom: {
    50: '#b49d5f',
    500: '#8f7618',
    950: '#000000',
  },
}
SCSS
$custom: #8f7618;
$custom-light: #b49d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7618",
  "rgb": {
    "r": 143,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 47.395,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.1096,
    "h": 92.7
  },
  "luminance": 0.18862
}

Semantic roles & 50–950 ramp

primary
#8F7618
secondary
#435DC0
accent
#60EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7618

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

Preview Lab → · Contrast checker → · Palette generator →

#8F7618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva