#9A802E#9A802E

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

Color values

HEX#9A802E
RGBrgb(154, 128, 46)
HSLhsl(46, 54%, 39%)
HSVhsv(46, 70%, 60%)
CMYKcmyk(0%, 16.9%, 70.1%, 39.6%)
CIE-LABlab(54.56, 0.70, 46.43)
CIE-LCHlch(54.56, 46.44, 89.14°)
OKLaboklab(60.86% -0.0021 0.1043)
OKLCHoklch(60.86% 0.104 91.1)
XYZxyz(21.5399, 22.5069, 5.7940)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A802E #2E489A
analogous
#9A4A2E #9A802E #7E9A2E
triadic
#9A802E #2E9A80 #802E9A
tetradic
#9A802E #2E9A4A #2E489A #9A2E7E
square
#9A802E #2E9A4A #2E489A #9A2E7E
split-complementary
#9A802E #2E7E9A #4A2E9A
monochromatic
#3C3212 #6B5920 #9A802E #C6A53F #D4BB6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A802E#FFFFFF#000000##000000
##9A802E1.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)
#8E7E23
Deuteranopia (green-blind)
#948632
Tritanopia (blue-blind)
#A7766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9a802e;
/* rgb */ color: rgb(154, 128, 46);
/* oklch */ color: oklch(60.9% 0.104 91.1);
Tailwind
colors: {
  custom: {
    50: '#bba46b',
    500: '#9a802e',
    950: '#000000',
  },
}
SCSS
$custom: #9a802e;
$custom-light: #bba46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a802e",
  "rgb": {
    "r": 154,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 45.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.10432,
    "h": 91.1
  },
  "luminance": 0.22506
}

Semantic roles & 50–950 ramp

primary
#9A802E
secondary
#697DBB
accent
#6EDD4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9A802E

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

Preview Lab → · Contrast checker → · Palette generator →

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