#9F882A#9F882A

#9F882A is a light, moderate yellow. Relative luminance 0.251; OKLCH L 63.1% C 0.113 H 94.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9F882A
RGBrgb(159, 136, 42)
HSLhsl(48, 58%, 39%)
HSVhsv(48, 74%, 62%)
CMYKcmyk(0%, 14.5%, 73.6%, 37.6%)
CIE-LABlab(57.22, -1.68, 50.97)
CIE-LCHlch(57.22, 50.99, 91.89°)
OKLaboklab(63.07% -0.0097 0.113)
OKLCHoklch(63.07% 0.113 94.9)
XYZxyz(23.5214, 25.1477, 5.8051)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F882A #2A419F
analogous
#9F4E2A #9F882A #7C9F2A
triadic
#9F882A #2A9F88 #882A9F
tetradic
#9F882A #2A9F4E #2A419F #9F2A7C
square
#9F882A #2A9F4E #2A419F #9F2A7C
split-complementary
#9F882A #2A7C9F #4E2A9F
monochromatic
#3E3510 #6F5F1D #9F882A #CBAF3B #D8C36B

Accessibility & contrast

On white

3.48
#9F882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#9F882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F882A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F882A#FFFFFF#000000##000000
##9F882A1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#AC7D75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f882a;
/* rgb */ color: rgb(159, 136, 42);
/* oklch */ color: oklch(63.1% 0.113 94.9);
Tailwind
colors: {
  custom: {
    50: '#bfaa6a',
    500: '#9f882a',
    950: '#000000',
  },
}
SCSS
$custom: #9f882a;
$custom-light: #bfaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f882a",
  "rgb": {
    "r": 159,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 48.205,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.11337,
    "h": 94.9
  },
  "luminance": 0.25146
}

Semantic roles & 50–950 ramp

primary
#9F882A
secondary
#6678BF
accent
#65E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F882A

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

Preview Lab → · Contrast checker → · Palette generator →

#9F882A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva