#8F812E#8F812E

#8F812E is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 60.0% C 0.104 H 99.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8F812E
RGBrgb(143, 129, 46)
HSLhsl(51, 51%, 37%)
HSVhsv(51, 68%, 56%)
CMYKcmyk(0%, 9.8%, 67.8%, 43.9%)
CIE-LABlab(53.75, -4.88, 45.25)
CIE-LCHlch(53.75, 45.51, 96.15°)
OKLaboklab(59.96% -0.0173 0.1022)
OKLCHoklch(59.96% 0.104 99.6)
XYZxyz(19.6719, 21.7383, 5.7440)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F812E #2E3C8F
analogous
#8F502E #8F812E #6D8F2E
triadic
#8F812E #2E8F81 #812E8F
tetradic
#8F812E #2E8F50 #2E3C8F #8F2E6D
square
#8F812E #2E8F50 #2E3C8F #8F2E6D
split-complementary
#8F812E #2E6D8F #502E8F
monochromatic
#322D10 #61571F #8F812E #BDAB3D #CFC069

Accessibility & contrast

On white

3.93
#8F812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8F812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F812E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F812E#FFFFFF#000000##000000
##8F812E1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#918333
Tritanopia (blue-blind)
#9A7870
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f812e;
/* rgb */ color: rgb(143, 129, 46);
/* oklch */ color: oklch(60.0% 0.104 99.6);
Tailwind
colors: {
  custom: {
    50: '#b3a56b',
    500: '#8f812e',
    950: '#000000',
  },
}
SCSS
$custom: #8f812e;
$custom-light: #b3a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f812e",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 51.34,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.10363,
    "h": 99.6
  },
  "luminance": 0.21737
}

Semantic roles & 50–950 ramp

primary
#8F812E
secondary
#636FB6
accent
#61DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F812E

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

Preview Lab → · Contrast checker → · Palette generator →

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