#8F8A29#8F8A29

#8F8A29 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.116 H 106.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8F8A29
RGBrgb(143, 138, 41)
HSLhsl(57, 55%, 36%)
HSVhsv(57, 71%, 56%)
CMYKcmyk(0%, 3.5%, 71.3%, 43.9%)
CIE-LABlab(56.27, -10.10, 49.92)
CIE-LCHlch(56.27, 50.93, 101.43°)
OKLaboklab(61.95% -0.0327 0.1112)
OKLCHoklch(61.95% 0.116 106.4)
XYZxyz(20.8172, 24.1774, 5.6675)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A29 #292E8F
analogous
#8F5729 #8F8A29 #618F29
triadic
#8F8A29 #298F8A #8A298F
tetradic
#8F8A29 #298F57 #292E8F #8F2961
square
#8F8A29 #298F57 #292E8F #8F2961
split-complementary
#8F8A29 #29618F #57298F
monochromatic
#302E0E #5F5C1B #8F8A29 #BFB837 #D2CC61

Accessibility & contrast

On white

3.60
#8F8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8F8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A29
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A29#FFFFFF#000000##000000
##8F8A291.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#988930
Tritanopia (blue-blind)
#9A8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a29;
/* rgb */ color: rgb(143, 138, 41);
/* oklch */ color: oklch(62.0% 0.116 106.4);
Tailwind
colors: {
  custom: {
    50: '#b3ab69',
    500: '#8f8a29',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a29;
$custom-light: #b3ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a29",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 57.059,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61951,
    "c": 0.11586,
    "h": 106.4
  },
  "luminance": 0.24177
}

Semantic roles & 50–950 ramp

primary
#8F8A29
secondary
#5C61B7
accent
#50DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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