#8F7E1E#8F7E1E

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

Color values

HEX#8F7E1E
RGBrgb(143, 126, 30)
HSLhsl(51, 65%, 34%)
HSVhsv(51, 79%, 56%)
CMYKcmyk(0%, 11.9%, 79%, 43.9%)
CIE-LABlab(52.79, -4.04, 50.75)
CIE-LCHlch(52.79, 50.92, 94.55°)
OKLaboklab(59.17% -0.0168 0.1108)
OKLCHoklch(59.17% 0.112 98.6)
XYZxyz(19.0239, 20.8561, 4.2516)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E1E #1E2F8F
analogous
#8F461E #8F7E1E #688F1E
triadic
#8F7E1E #1E8F7E #7E1E8F
tetradic
#8F7E1E #1E8F46 #1E2F8F #8F1E68
square
#8F7E1E #1E8F46 #1E2F8F #8F1E68
split-complementary
#8F7E1E #1E688F #461E8F
monochromatic
#2A2509 #5C5113 #8F7E1E #C2AB29 #DAC54E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F7E1E#FFFFFF#000000##000000
##8F7E1E1.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)
#8B7B08
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#9B746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e1e;
/* rgb */ color: rgb(143, 126, 30);
/* oklch */ color: oklch(59.2% 0.112 98.6);
Tailwind
colors: {
  custom: {
    50: '#b3a362',
    500: '#8f7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e1e;
$custom-light: #b3a362;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e1e",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 50.973,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.11201,
    "h": 98.6
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#8F7E1E
secondary
#4C5DBC
accent
#59E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #8F7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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