#8F7B2E#8F7B2E

#8F7B2E is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.099 H 94.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8F7B2E
RGBrgb(143, 123, 46)
HSLhsl(48, 51%, 37%)
HSVhsv(48, 68%, 56%)
CMYKcmyk(0%, 14%, 67.8%, 43.9%)
CIE-LABlab(52.07, -1.53, 43.48)
CIE-LCHlch(52.07, 43.50, 92.01°)
OKLaboklab(58.63% -0.0078 0.0984)
OKLCHoklch(58.63% 0.099 94.5)
XYZxyz(18.9047, 20.2038, 5.4882)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7B2E #2E428F
analogous
#8F4B2E #8F7B2E #738F2E
triadic
#8F7B2E #2E8F7B #7B2E8F
tetradic
#8F7B2E #2E8F4B #2E428F #8F2E73
square
#8F7B2E #2E8F4B #2E428F #8F2E73
split-complementary
#8F7B2E #2E738F #4B2E8F
monochromatic
#322B10 #61531F #8F7B2E #BDA33D #CFBA69

Accessibility & contrast

On white

4.17
#8F7B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8F7B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7B2E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7B2E#FFFFFF#000000##000000
##8F7B2E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#9A726B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f7b2e;
/* rgb */ color: rgb(143, 123, 46);
/* oklch */ color: oklch(58.6% 0.099 94.5);
Tailwind
colors: {
  custom: {
    50: '#b3a06b',
    500: '#8f7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f7b2e;
$custom-light: #b3a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7b2e",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 47.629,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.09873,
    "h": 94.5
  },
  "luminance": 0.20203
}

Semantic roles & 50–950 ramp

primary
#8F7B2E
secondary
#6374B6
accent
#6ADB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8F7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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