#8F7E18#8F7E18

#8F7E18 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.115 H 99.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8F7E18
RGBrgb(143, 126, 24)
HSLhsl(51, 71%, 33%)
HSVhsv(51, 83%, 56%)
CMYKcmyk(0%, 11.9%, 83.2%, 43.9%)
CIE-LABlab(52.76, -4.26, 52.71)
CIE-LCHlch(52.76, 52.88, 94.63°)
OKLaboklab(59.13% -0.018 0.1137)
OKLCHoklch(59.13% 0.115 99)
XYZxyz(18.9544, 20.8283, 3.8859)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E18 #18298F
analogous
#8F4318 #8F7E18 #648F18
triadic
#8F7E18 #188F7E #7E188F
tetradic
#8F7E18 #188F43 #18298F #8F1864
square
#8F7E18 #188F43 #18298F #8F1864
split-complementary
#8F7E18 #18648F #43188F
monochromatic
#262206 #5B500F #8F7E18 #C3AC21 #DFC942

Accessibility & contrast

On white

4.07
#8F7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8F7E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E18
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E18#FFFFFF#000000##000000
##8F7E181.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#908020
Tritanopia (blue-blind)
#9B746B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e18;
/* rgb */ color: rgb(143, 126, 24);
/* oklch */ color: oklch(59.1% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#b4a360',
    500: '#8f7e18',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e18;
$custom-light: #b4a360;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e18",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 51.429,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.1151,
    "h": 99
  },
  "luminance": 0.20827
}

Semantic roles & 50–950 ramp

primary
#8F7E18
secondary
#4355C0
accent
#54EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #8F7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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