#9A802D#9A802D

#9A802D is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.9% C 0.105 H 91.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9A802D
RGBrgb(154, 128, 45)
HSLhsl(46, 55%, 39%)
HSVhsv(46, 71%, 60%)
CMYKcmyk(0%, 16.9%, 70.8%, 39.6%)
CIE-LABlab(54.55, 0.64, 46.86)
CIE-LCHlch(54.55, 46.87, 89.22°)
OKLaboklab(60.85% -0.0024 0.105)
OKLCHoklch(60.85% 0.105 91.3)
XYZxyz(21.5204, 22.4991, 5.6914)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A802D #2D479A
analogous
#9A4A2D #9A802D #7E9A2D
triadic
#9A802D #2D9A80 #802D9A
tetradic
#9A802D #2D9A4A #2D479A #9A2D7E
square
#9A802D #2D9A4A #2D479A #9A2D7E
split-complementary
#9A802D #2D7E9A #4A2D9A
monochromatic
#3B3111 #6B591F #9A802D #C7A63E #D4BC6D

Accessibility & contrast

On white

3.82
#9A802D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9A802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A802D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A802D#FFFFFF#000000##000000
##9A802D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#A7756F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a802d;
/* rgb */ color: rgb(154, 128, 45);
/* oklch */ color: oklch(60.9% 0.105 91.3);
Tailwind
colors: {
  custom: {
    50: '#bba46b',
    500: '#9a802d',
    950: '#000000',
  },
}
SCSS
$custom: #9a802d;
$custom-light: #bba46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a802d",
  "rgb": {
    "r": 154,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 45.688,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.10506,
    "h": 91.3
  },
  "luminance": 0.22498
}

Semantic roles & 50–950 ramp

primary
#9A802D
secondary
#677BBB
accent
#6DDE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9A802D

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

Preview Lab → · Contrast checker → · Palette generator →

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