#8F7D3E#8F7D3E

#8F7D3E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.086 H 93.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8F7D3E
RGBrgb(143, 125, 62)
HSLhsl(47, 40%, 40%)
HSVhsv(47, 57%, 56%)
CMYKcmyk(0%, 12.6%, 56.6%, 43.9%)
CIE-LABlab(52.79, -1.46, 36.43)
CIE-LCHlch(52.79, 36.46, 92.29°)
OKLaboklab(59.26% -0.0055 0.0856)
OKLCHoklch(59.26% 0.086 93.7)
XYZxyz(19.5316, 20.8556, 7.5532)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D3E #3E508F
analogous
#8F553E #8F7D3E #788F3E
triadic
#8F7D3E #3E8F7D #7D3E8F
tetradic
#8F7D3E #3E8F55 #3E508F #8F3E78
square
#8F7D3E #3E8F55 #3E508F #8F3E78
split-complementary
#8F7D3E #3E788F #553E8F
monochromatic
#3A3219 #64582B #8F7D3E #B5A055 #C8B880

Accessibility & contrast

On white

4.06
#8F7D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7D3E#FFFFFF#000000##000000
##8F7D3E1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B38
Deuteranopia (green-blind)
#8D8041
Tritanopia (blue-blind)
#99756F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7d3e;
/* rgb */ color: rgb(143, 125, 62);
/* oklch */ color: oklch(59.3% 0.086 93.7);
Tailwind
colors: {
  custom: {
    50: '#b2a275',
    500: '#8f7d3e',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d3e;
$custom-light: #b2a275;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d3e",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 46.667,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.08574,
    "h": 93.7
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#8F7D3E
secondary
#7784B2
accent
#73CF58
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110F08
muted
#807E7B

Preview Lab

Preview with #8F7D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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