#9A802C#9A802C

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

Color values

HEX#9A802C
RGBrgb(154, 128, 44)
HSLhsl(46, 56%, 39%)
HSVhsv(46, 71%, 60%)
CMYKcmyk(0%, 16.9%, 71.4%, 39.6%)
CIE-LABlab(54.54, 0.59, 47.29)
CIE-LCHlch(54.54, 47.29, 89.29°)
OKLaboklab(60.84% -0.0027 0.1058)
OKLCHoklch(60.84% 0.106 91.4)
XYZxyz(21.5014, 22.4915, 5.5912)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A802C #2C469A
analogous
#9A492C #9A802C #7D9A2C
triadic
#9A802C #2C9A80 #802C9A
tetradic
#9A802C #2C9A49 #2C469A #9A2C7D
square
#9A802C #2C9A49 #2C469A #9A2C7D
split-complementary
#9A802C #2C7D9A #492C9A
monochromatic
#3B3111 #6A581E #9A802C #C7A63C #D5BC6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A802C#FFFFFF#000000##000000
##9A802C1.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)
#8E7E21
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#A7756F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a802c;
/* rgb */ color: rgb(154, 128, 44);
/* oklch */ color: oklch(60.8% 0.106 91.4);
Tailwind
colors: {
  custom: {
    50: '#bba46a',
    500: '#9a802c',
    950: '#000000',
  },
}
SCSS
$custom: #9a802c;
$custom-light: #bba46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a802c",
  "rgb": {
    "r": 154,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 45.818,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.10578,
    "h": 91.4
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#9A802C
secondary
#667ABC
accent
#6CDF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9A802C

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

Preview Lab → · Contrast checker → · Palette generator →

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