#9F882F#9F882F

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

Color values

HEX#9F882F
RGBrgb(159, 136, 47)
HSLhsl(48, 54%, 40%)
HSVhsv(48, 70%, 62%)
CMYKcmyk(0%, 14.5%, 70.4%, 37.6%)
CIE-LABlab(57.26, -1.42, 48.92)
CIE-LCHlch(57.26, 48.94, 91.66°)
OKLaboklab(63.11% -0.0084 0.1096)
OKLCHoklch(63.11% 0.11 94.4)
XYZxyz(23.6165, 25.1858, 6.3062)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F882F #2F469F
analogous
#9F502F #9F882F #7E9F2F
triadic
#9F882F #2F9F88 #882F9F
tetradic
#9F882F #2F9F50 #2F469F #9F2F7E
square
#9F882F #2F9F50 #2F469F #9F2F7E
split-complementary
#9F882F #2F7E9F #502F9F
monochromatic
#413713 #706021 #9F882F #C8AC44 #D6C173

Accessibility & contrast

On white

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

On black

6.04
#9F882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F882F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F882F#FFFFFF#000000##000000
##9F882F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968523
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#AC7D76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f882f;
/* rgb */ color: rgb(159, 136, 47);
/* oklch */ color: oklch(63.1% 0.110 94.4);
Tailwind
colors: {
  custom: {
    50: '#bfaa6d',
    500: '#9f882f',
    950: '#000000',
  },
}
SCSS
$custom: #9f882f;
$custom-light: #bfaa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f882f",
  "rgb": {
    "r": 159,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 47.679,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63109,
    "c": 0.10989,
    "h": 94.4
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#9F882F
secondary
#6D7DBD
accent
#68DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F882F

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

Preview Lab → · Contrast checker → · Palette generator →

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