#8F7C2E#8F7C2E

#8F7C2E is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.099 H 95.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8F7C2E
RGBrgb(143, 124, 46)
HSLhsl(48, 51%, 37%)
HSVhsv(48, 68%, 56%)
CMYKcmyk(0%, 13.3%, 67.8%, 43.9%)
CIE-LABlab(52.35, -2.09, 43.77)
CIE-LCHlch(52.35, 43.82, 92.73°)
OKLaboklab(58.85% -0.0094 0.0991)
OKLCHoklch(58.85% 0.099 95.4)
XYZxyz(19.0294, 20.4532, 5.5298)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7C2E #2E418F
analogous
#8F4B2E #8F7C2E #728F2E
triadic
#8F7C2E #2E8F7C #7C2E8F
tetradic
#8F7C2E #2E8F4B #2E418F #8F2E72
square
#8F7C2E #2E8F4B #2E418F #8F2E72
split-complementary
#8F7C2E #2E728F #4B2E8F
monochromatic
#322C10 #61541F #8F7C2E #BDA43D #CFBB69

Accessibility & contrast

On white

4.13
#8F7C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8F7C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7C2E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7C2E#FFFFFF#000000##000000
##8F7C2E1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f7c2e;
/* rgb */ color: rgb(143, 124, 46);
/* oklch */ color: oklch(58.9% 0.099 95.4);
Tailwind
colors: {
  custom: {
    50: '#b3a16b',
    500: '#8f7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f7c2e;
$custom-light: #b3a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7c2e",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 48.247,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.09949,
    "h": 95.4
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#8F7C2E
secondary
#6373B6
accent
#69DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8F7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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