#8F7D1E#8F7D1E

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

Color values

HEX#8F7D1E
RGBrgb(143, 125, 30)
HSLhsl(50, 65%, 34%)
HSVhsv(50, 79%, 56%)
CMYKcmyk(0%, 12.6%, 79%, 43.9%)
CIE-LABlab(52.51, -3.48, 50.50)
CIE-LCHlch(52.51, 50.62, 93.95°)
OKLaboklab(58.95% -0.0152 0.1102)
OKLCHoklch(58.95% 0.111 97.8)
XYZxyz(18.8966, 20.6016, 4.2092)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D1E #1E308F
analogous
#8F441E #8F7D1E #698F1E
triadic
#8F7D1E #1E8F7D #7D1E8F
tetradic
#8F7D1E #1E8F44 #1E308F #8F1E69
square
#8F7D1E #1E8F44 #1E308F #8F1E69
split-complementary
#8F7D1E #1E698F #441E8F
monochromatic
#2A2509 #5C5113 #8F7D1E #C2A929 #DAC34E

Accessibility & contrast

On white

4.10
#8F7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8F7D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7D1E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7D1E#FFFFFF#000000##000000
##8F7D1E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f7d1e;
/* rgb */ color: rgb(143, 125, 30);
/* oklch */ color: oklch(58.9% 0.111 97.8);
Tailwind
colors: {
  custom: {
    50: '#b3a262',
    500: '#8f7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d1e;
$custom-light: #b3a262;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d1e",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 50.442,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.11124,
    "h": 97.8
  },
  "luminance": 0.20601
}

Semantic roles & 50–950 ramp

primary
#8F7D1E
secondary
#4C5EBC
accent
#5AE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #8F7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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