#8F7318#8F7318

#8F7318 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.108 H 90.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8F7318
RGBrgb(143, 115, 24)
HSLhsl(46, 71%, 33%)
HSVhsv(46, 83%, 56%)
CMYKcmyk(0%, 19.6%, 83.2%, 43.9%)
CIE-LABlab(49.70, 1.93, 50.03)
CIE-LCHlch(49.70, 50.07, 87.79°)
OKLaboklab(56.71% -0.0004 0.1079)
OKLCHoklch(56.71% 0.108 90.2)
XYZxyz(17.6244, 18.1682, 3.4425)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7318 #18348F
analogous
#8F3718 #8F7318 #708F18
triadic
#8F7318 #188F73 #73188F
tetradic
#8F7318 #188F37 #18348F #8F1870
square
#8F7318 #188F37 #18348F #8F1870
split-complementary
#8F7318 #18708F #37188F
monochromatic
#261F06 #5B490F #8F7318 #C39D21 #DFBA42

Accessibility & contrast

On white

4.53
#8F7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8F7318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7318
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7318#FFFFFF#000000##000000
##8F73181.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#817201
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#9B6862
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f7318;
/* rgb */ color: rgb(143, 115, 24);
/* oklch */ color: oklch(56.7% 0.108 90.2);
Tailwind
colors: {
  custom: {
    50: '#b49a5e',
    500: '#8f7318',
    950: '#000000',
  },
}
SCSS
$custom: #8f7318;
$custom-light: #b49a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7318",
  "rgb": {
    "r": 143,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 45.882,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.10789,
    "h": 90.2
  },
  "luminance": 0.18167
}

Semantic roles & 50–950 ramp

primary
#8F7318
secondary
#4360C0
accent
#64EE3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#120E05
muted
#817E79

Preview Lab

Preview with #8F7318

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

Preview Lab → · Contrast checker → · Palette generator →

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