#8F842E#8F842E

#8F842E is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.106 H 102.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8F842E
RGBrgb(143, 132, 46)
HSLhsl(53, 51%, 37%)
HSVhsv(53, 68%, 56%)
CMYKcmyk(0%, 7.7%, 67.8%, 43.9%)
CIE-LABlab(54.60, -6.54, 46.13)
CIE-LCHlch(54.60, 46.59, 98.06°)
OKLaboklab(60.63% -0.0221 0.104)
OKLCHoklch(60.63% 0.106 102)
XYZxyz(20.0729, 22.5403, 5.8776)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F842E #2E398F
analogous
#8F542E #8F842E #6A8F2E
triadic
#8F842E #2E8F84 #842E8F
tetradic
#8F842E #2E8F54 #2E398F #8F2E6A
square
#8F842E #2E8F54 #2E398F #8F2E6A
split-complementary
#8F842E #2E6A8F #542E8F
monochromatic
#322F10 #61591F #8F842E #BDAF3D #CFC369

Accessibility & contrast

On white

3.81
#8F842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8F842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F842E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F842E#FFFFFF#000000##000000
##8F842E1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#938533
Tritanopia (blue-blind)
#9A7B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f842e;
/* rgb */ color: rgb(143, 132, 46);
/* oklch */ color: oklch(60.6% 0.106 102.0);
Tailwind
colors: {
  custom: {
    50: '#b3a76c',
    500: '#8f842e',
    950: '#000000',
  },
}
SCSS
$custom: #8f842e;
$custom-light: #b3a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f842e",
  "rgb": {
    "r": 143,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 53.196,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60635,
    "c": 0.10636,
    "h": 102
  },
  "luminance": 0.22539
}

Semantic roles & 50–950 ramp

primary
#8F842E
secondary
#636DB6
accent
#5DDB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F842E

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

Preview Lab → · Contrast checker → · Palette generator →

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