#8F8118#8F8118

#8F8118 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.117 H 101.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8F8118
RGBrgb(143, 129, 24)
HSLhsl(53, 71%, 33%)
HSVhsv(53, 83%, 56%)
CMYKcmyk(0%, 9.8%, 83.2%, 43.9%)
CIE-LABlab(53.61, -5.93, 53.44)
CIE-LCHlch(53.61, 53.77, 96.33°)
OKLaboklab(59.81% -0.0226 0.1153)
OKLCHoklch(59.81% 0.117 101.1)
XYZxyz(19.3438, 21.6070, 4.0156)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8118 #18268F
analogous
#8F4518 #8F8118 #618F18
triadic
#8F8118 #188F81 #81188F
tetradic
#8F8118 #188F45 #18268F #8F1861
square
#8F8118 #188F45 #18268F #8F1861
split-complementary
#8F8118 #18618F #45188F
monochromatic
#262206 #5B520F #8F8118 #C3B021 #DFCD42

Accessibility & contrast

On white

3.95
#8F8118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8F8118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8118
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8118#FFFFFF#000000##000000
##8F81181.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#9B776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f8118;
/* rgb */ color: rgb(143, 129, 24);
/* oklch */ color: oklch(59.8% 0.117 101.1);
Tailwind
colors: {
  custom: {
    50: '#b4a560',
    500: '#8f8118',
    950: '#000000',
  },
}
SCSS
$custom: #8f8118;
$custom-light: #b4a560;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8118",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 52.941,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59806,
    "c": 0.11748,
    "h": 101.1
  },
  "luminance": 0.21606
}

Semantic roles & 50–950 ramp

primary
#8F8118
secondary
#4351C0
accent
#4FEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #8F8118

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

Preview Lab → · Contrast checker → · Palette generator →

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