#8F8034#8F8034

#8F8034 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.8% C 0.098 H 98.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8F8034
RGBrgb(143, 128, 52)
HSLhsl(50, 47%, 38%)
HSVhsv(50, 64%, 56%)
CMYKcmyk(0%, 10.5%, 63.6%, 43.9%)
CIE-LABlab(53.52, -3.92, 42.23)
CIE-LCHlch(53.52, 42.42, 95.31°)
OKLaboklab(59.8% -0.0139 0.0967)
OKLCHoklch(59.8% 0.098 98.2)
XYZxyz(19.6675, 21.5268, 6.3673)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8034 #34438F
analogous
#8F5234 #8F8034 #708F34
triadic
#8F8034 #348F80 #80348F
tetradic
#8F8034 #348F52 #34438F #8F3470
square
#8F8034 #348F52 #34438F #8F3470
split-complementary
#8F8034 #34708F #52348F
monochromatic
#353013 #625824 #8F8034 #BBA845 #CCBD72

Accessibility & contrast

On white

3.96
#8F8034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8F8034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8034
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8034#FFFFFF#000000##000000
##8F80341.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2C
Deuteranopia (green-blind)
#908238
Tritanopia (blue-blind)
#9A7770
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f8034;
/* rgb */ color: rgb(143, 128, 52);
/* oklch */ color: oklch(59.8% 0.098 98.2);
Tailwind
colors: {
  custom: {
    50: '#b2a46f',
    500: '#8f8034',
    950: '#000000',
  },
}
SCSS
$custom: #8f8034;
$custom-light: #b2a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8034",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 50.11,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.598,
    "c": 0.09773,
    "h": 98.2
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#8F8034
secondary
#6B77B4
accent
#67D651
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8034

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

Preview Lab → · Contrast checker → · Palette generator →

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