#8F7718#8F7718

#8F7718 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.6% C 0.110 H 93.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F7718
RGBrgb(143, 119, 24)
HSLhsl(48, 71%, 33%)
HSVhsv(48, 83%, 56%)
CMYKcmyk(0%, 16.8%, 83.2%, 43.9%)
CIE-LABlab(50.80, -0.34, 51.00)
CIE-LCHlch(50.80, 51.00, 90.38°)
OKLaboklab(57.58% -0.0069 0.11)
OKLCHoklch(57.58% 0.11 93.6)
XYZxyz(18.0904, 19.1003, 3.5979)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7718 #18308F
analogous
#8F3B18 #8F7718 #6B8F18
triadic
#8F7718 #188F77 #77188F
tetradic
#8F7718 #188F3B #18308F #8F186B
square
#8F7718 #188F3B #18308F #8F186B
split-complementary
#8F7718 #186B8F #3B188F
monochromatic
#262006 #5B4B0F #8F7718 #C3A321 #DFC042

Accessibility & contrast

On white

4.36
#8F7718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8F7718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7718
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7718#FFFFFF#000000##000000
##8F77181.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#9B6D66
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f7718;
/* rgb */ color: rgb(143, 119, 24);
/* oklch */ color: oklch(57.6% 0.110 93.6);
Tailwind
colors: {
  custom: {
    50: '#b49d5f',
    500: '#8f7718',
    950: '#000000',
  },
}
SCSS
$custom: #8f7718;
$custom-light: #b49d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7718",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 47.899,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.1102,
    "h": 93.6
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#8F7718
secondary
#435CC0
accent
#5EEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7718

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

Preview Lab → · Contrast checker → · Palette generator →

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