#8F7D18#8F7D18

#8F7D18 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.114 H 98.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8F7D18
RGBrgb(143, 125, 24)
HSLhsl(51, 71%, 33%)
HSVhsv(51, 83%, 56%)
CMYKcmyk(0%, 12.6%, 83.2%, 43.9%)
CIE-LABlab(52.48, -3.71, 52.46)
CIE-LCHlch(52.48, 52.59, 94.04°)
OKLaboklab(58.91% -0.0164 0.1132)
OKLCHoklch(58.91% 0.114 98.2)
XYZxyz(18.8272, 20.5738, 3.8434)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D18 #182A8F
analogous
#8F4118 #8F7D18 #668F18
triadic
#8F7D18 #188F7D #7D188F
tetradic
#8F7D18 #188F41 #182A8F #8F1866
square
#8F7D18 #188F41 #182A8F #8F1866
split-complementary
#8F7D18 #18668F #41188F
monochromatic
#262106 #5B4F0F #8F7D18 #C3AB21 #DFC842

Accessibility & contrast

On white

4.11
#8F7D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8F7D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7D18
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7D18#FFFFFF#000000##000000
##8F7D181.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f7d18;
/* rgb */ color: rgb(143, 125, 24);
/* oklch */ color: oklch(58.9% 0.114 98.2);
Tailwind
colors: {
  custom: {
    50: '#b4a260',
    500: '#8f7d18',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d18;
$custom-light: #b4a260;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d18",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 50.924,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.11434,
    "h": 98.2
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#8F7D18
secondary
#4356C0
accent
#55EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #8F7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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