#9C882F#9C882F

#9C882F is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.8% C 0.110 H 96.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9C882F
RGBrgb(156, 136, 47)
HSLhsl(49, 54%, 40%)
HSVhsv(49, 70%, 61%)
CMYKcmyk(0%, 12.8%, 69.9%, 38.8%)
CIE-LABlab(56.96, -2.78, 48.53)
CIE-LCHlch(56.96, 48.61, 93.28°)
OKLaboklab(62.81% -0.0121 0.1088)
OKLCHoklch(62.81% 0.11 96.3)
XYZxyz(23.0287, 24.8827, 6.2786)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C882F #2F439C
analogous
#9C522F #9C882F #7A9C2F
triadic
#9C882F #2F9C88 #882F9C
tetradic
#9C882F #2F9C52 #2F439C #9C2F7A
square
#9C882F #2F9C52 #2F439C #9C2F7A
split-complementary
#9C882F #2F7A9C #522F9C
monochromatic
#3E3613 #6D5F21 #9C882F #C6AE42 #D4C271

Accessibility & contrast

On white

3.51
#9C882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#9C882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C882F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C882F#FFFFFF#000000##000000
##9C882F1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c882f;
/* rgb */ color: rgb(156, 136, 47);
/* oklch */ color: oklch(62.8% 0.110 96.3);
Tailwind
colors: {
  custom: {
    50: '#bcaa6d',
    500: '#9c882f',
    950: '#000000',
  },
}
SCSS
$custom: #9c882f;
$custom-light: #bcaa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c882f",
  "rgb": {
    "r": 156,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 48.991,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.10951,
    "h": 96.3
  },
  "luminance": 0.24881
}

Semantic roles & 50–950 ramp

primary
#9C882F
secondary
#6B7ABC
accent
#66DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C882F

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

Preview Lab → · Contrast checker → · Palette generator →

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