#8F7D2B#8F7D2B

#8F7D2B is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.103 H 96.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8F7D2B
RGBrgb(143, 125, 43)
HSLhsl(49, 54%, 36%)
HSVhsv(49, 70%, 56%)
CMYKcmyk(0%, 12.6%, 69.9%, 43.9%)
CIE-LABlab(52.60, -2.83, 45.38)
CIE-LCHlch(52.60, 45.47, 93.57°)
OKLaboklab(59.04% -0.0119 0.1019)
OKLCHoklch(59.04% 0.103 96.6)
XYZxyz(19.0983, 20.6823, 5.2711)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D2B #2B3D8F
analogous
#8F4B2B #8F7D2B #6F8F2B
triadic
#8F7D2B #2B8F7D #7D2B8F
tetradic
#8F7D2B #2B8F4B #2B3D8F #8F2B6F
square
#8F7D2B #2B8F4B #2B3D8F #8F2B6F
split-complementary
#8F7D2B #2B6F8F #4B2B8F
monochromatic
#312B0F #60541D #8F7D2B #BEA639 #D0BD64

Accessibility & contrast

On white

4.09
#8F7D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8F7D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7D2B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7D2B#FFFFFF#000000##000000
##8F7D2B1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A20
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#9A736C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f7d2b;
/* rgb */ color: rgb(143, 125, 43);
/* oklch */ color: oklch(59.0% 0.103 96.6);
Tailwind
colors: {
  custom: {
    50: '#b3a269',
    500: '#8f7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d2b;
$custom-light: #b3a269;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d2b",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 49.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.10262,
    "h": 96.6
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#8F7D2B
secondary
#5F6FB7
accent
#65DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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