#9F882B#9F882B

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

Color values

HEX#9F882B
RGBrgb(159, 136, 43)
HSLhsl(48, 57%, 40%)
HSVhsv(48, 73%, 62%)
CMYKcmyk(0%, 14.5%, 73%, 37.6%)
CIE-LABlab(57.23, -1.63, 50.57)
CIE-LCHlch(57.23, 50.59, 91.85°)
OKLaboklab(63.08% -0.0094 0.1123)
OKLCHoklch(63.08% 0.113 94.8)
XYZxyz(23.5395, 25.1550, 5.9005)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F882B #2B429F
analogous
#9F4E2B #9F882B #7C9F2B
triadic
#9F882B #2B9F88 #882B9F
tetradic
#9F882B #2B9F4E #2B429F #9F2B7C
square
#9F882B #2B9F4E #2B429F #9F2B7C
split-complementary
#9F882B #2B7C9F #4E2B9F
monochromatic
#3F3611 #6F5F1E #9F882B #CAAE3D #D7C26D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F882B#FFFFFF#000000##000000
##9F882B1.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)
#96851D
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#AC7D75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f882b;
/* rgb */ color: rgb(159, 136, 43);
/* oklch */ color: oklch(63.1% 0.113 94.8);
Tailwind
colors: {
  custom: {
    50: '#bfaa6b',
    500: '#9f882b',
    950: '#000000',
  },
}
SCSS
$custom: #9f882b;
$custom-light: #bfaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f882b",
  "rgb": {
    "r": 159,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 48.103,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63076,
    "c": 0.1127,
    "h": 94.8
  },
  "luminance": 0.25154
}

Semantic roles & 50–950 ramp

primary
#9F882B
secondary
#6779BE
accent
#66E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F882B

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

Preview Lab → · Contrast checker → · Palette generator →

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