#9A882F#9A882F

#9A882F is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.109 H 97.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9A882F
RGBrgb(154, 136, 47)
HSLhsl(50, 53%, 39%)
HSVhsv(50, 69%, 60%)
CMYKcmyk(0%, 11.7%, 69.5%, 39.6%)
CIE-LABlab(56.77, -3.69, 48.27)
CIE-LCHlch(56.77, 48.41, 94.37°)
OKLaboklab(62.61% -0.0145 0.1084)
OKLCHoklch(62.61% 0.109 97.6)
XYZxyz(22.6447, 24.6847, 6.2606)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A882F #2F419A
analogous
#9A532F #9A882F #769A2F
triadic
#9A882F #2F9A88 #882F9A
tetradic
#9A882F #2F9A53 #2F419A #9A2F76
square
#9A882F #2F9A53 #2F419A #9A2F76
split-complementary
#9A882F #2F769A #532F9A
monochromatic
#3C3512 #6B5F21 #9A882F #C5AF41 #D3C370

Accessibility & contrast

On white

3.54
#9A882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#9A882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A882F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A882F#FFFFFF#000000##000000
##9A882F1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958523
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#A67E76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9a882f;
/* rgb */ color: rgb(154, 136, 47);
/* oklch */ color: oklch(62.6% 0.109 97.6);
Tailwind
colors: {
  custom: {
    50: '#bbaa6d',
    500: '#9a882f',
    950: '#000000',
  },
}
SCSS
$custom: #9a882f;
$custom-light: #bbaa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a882f",
  "rgb": {
    "r": 154,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 49.907,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.10933,
    "h": 97.6
  },
  "luminance": 0.24684
}

Semantic roles & 50–950 ramp

primary
#9A882F
secondary
#6A78BB
accent
#64DD4B
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A882F

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

Preview Lab → · Contrast checker → · Palette generator →

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