#8F8D2A#8F8D2A

#8F8D2A is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.118 H 108.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8F8D2A
RGBrgb(143, 141, 42)
HSLhsl(59, 55%, 36%)
HSVhsv(59, 71%, 56%)
CMYKcmyk(0%, 1.4%, 70.6%, 43.9%)
CIE-LABlab(57.13, -11.65, 50.38)
CIE-LCHlch(57.13, 51.71, 103.02°)
OKLaboklab(62.64% -0.037 0.1123)
OKLCHoklch(62.64% 0.118 108.2)
XYZxyz(21.2713, 25.0572, 5.9061)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D2A #2A2C8F
analogous
#8F5B2A #8F8D2A #5F8F2A
triadic
#8F8D2A #2A8F8D #8D2A8F
tetradic
#8F8D2A #2A8F5B #2A2C8F #8F2A5F
square
#8F8D2A #2A8F5B #2A2C8F #8F2A5F
split-complementary
#8F8D2A #2A5F8F #5B2A8F
monochromatic
#30300E #605E1C #8F8D2A #BEBC38 #D1CF62

Accessibility & contrast

On white

3.49
#8F8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8F8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D2A
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D2A#FFFFFF#000000##000000
##8F8D2A1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#998479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d2a;
/* rgb */ color: rgb(143, 141, 42);
/* oklch */ color: oklch(62.6% 0.118 108.2);
Tailwind
colors: {
  custom: {
    50: '#b3ae6a',
    500: '#8f8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d2a;
$custom-light: #b3ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d2a",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 58.812,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62643,
    "c": 0.11823,
    "h": 108.2
  },
  "luminance": 0.25057
}

Semantic roles & 50–950 ramp

primary
#8F8D2A
secondary
#5E60B7
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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