#8F8229#8F8229

#8F8229 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.108 H 100.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8F8229
RGBrgb(143, 130, 41)
HSLhsl(52, 55%, 36%)
HSVhsv(52, 71%, 56%)
CMYKcmyk(0%, 9.1%, 71.3%, 43.9%)
CIE-LABlab(53.99, -5.73, 47.65)
CIE-LCHlch(53.99, 48.00, 96.85°)
OKLaboklab(60.14% -0.0204 0.1064)
OKLCHoklch(60.14% 0.108 100.8)
XYZxyz(19.7114, 21.9659, 5.2990)
Luminance0.2197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8229 #29368F
analogous
#8F4F29 #8F8229 #698F29
triadic
#8F8229 #298F82 #82298F
tetradic
#8F8229 #298F4F #29368F #8F2969
square
#8F8229 #298F4F #29368F #8F2969
split-complementary
#8F8229 #29698F #4F298F
monochromatic
#302C0E #5F571B #8F8229 #BFAD37 #D2C361

Accessibility & contrast

On white

3.89
#8F8229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8F8229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8229
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8229#FFFFFF#000000##000000
##8F82291.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f8229;
/* rgb */ color: rgb(143, 130, 41);
/* oklch */ color: oklch(60.1% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#b3a668',
    500: '#8f8229',
    950: '#000000',
  },
}
SCSS
$custom: #8f8229;
$custom-light: #b3a668;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8229",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 52.353,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.1083,
    "h": 100.8
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

primary
#8F8229
secondary
#5C68B7
accent
#5CDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8229

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

Preview Lab → · Contrast checker → · Palette generator →

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