#8F8E29#8F8E29

#8F8E29 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.9% C 0.120 H 108.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8F8E29
RGBrgb(143, 142, 41)
HSLhsl(59, 55%, 36%)
HSVhsv(59, 71%, 56%)
CMYKcmyk(0%, 0.7%, 71.3%, 43.9%)
CIE-LABlab(57.41, -12.24, 51.05)
CIE-LCHlch(57.41, 52.50, 103.48°)
OKLaboklab(62.87% -0.0387 0.1135)
OKLCHoklch(62.87% 0.12 108.8)
XYZxyz(21.4017, 25.3464, 5.8624)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8E29 #292A8F
analogous
#8F5B29 #8F8E29 #5D8F29
triadic
#8F8E29 #298F8E #8E298F
tetradic
#8F8E29 #298F5B #292A8F #8F295D
square
#8F8E29 #298F5B #292A8F #8F295D
split-complementary
#8F8E29 #295D8F #5B298F
monochromatic
#30300E #5F5F1B #8F8E29 #BFBD37 #D2D161

Accessibility & contrast

On white

3.46
#8F8E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8F8E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8E29
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8E29#FFFFFF#000000##000000
##8F8E291.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8818
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#99857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f8e29;
/* rgb */ color: rgb(143, 142, 41);
/* oklch */ color: oklch(62.9% 0.120 108.8);
Tailwind
colors: {
  custom: {
    50: '#b3ae6a',
    500: '#8f8e29',
    950: '#000000',
  },
}
SCSS
$custom: #8f8e29;
$custom-light: #b3ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8e29",
  "rgb": {
    "r": 143,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 59.412,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62865,
    "c": 0.11997,
    "h": 108.8
  },
  "luminance": 0.25346
}

Semantic roles & 50–950 ramp

primary
#8F8E29
secondary
#5C5DB7
accent
#4BDF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8E29

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

Preview Lab → · Contrast checker → · Palette generator →

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