#99802C#99802C

#99802C is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.7% C 0.106 H 92.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#99802C
RGBrgb(153, 128, 44)
HSLhsl(46, 55%, 39%)
HSVhsv(46, 71%, 60%)
CMYKcmyk(0%, 16.3%, 71.2%, 40%)
CIE-LABlab(54.44, 0.13, 47.15)
CIE-LCHlch(54.44, 47.15, 89.84°)
OKLaboklab(60.74% -0.0039 0.1055)
OKLCHoklch(60.74% 0.106 92.1)
XYZxyz(21.3118, 22.3937, 5.5823)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99802C #2C4599
analogous
#99492C #99802C #7B992C
triadic
#99802C #2C9980 #802C99
tetradic
#99802C #2C9949 #2C4599 #992C7B
square
#99802C #2C9949 #2C4599 #992C7B
split-complementary
#99802C #2C7B99 #492C99
monochromatic
#3A3011 #69581E #99802C #C7A73B #D4BC6B

Accessibility & contrast

On white

3.83
#99802C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#99802C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #99802C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99802C#FFFFFF#000000##000000
##99802C1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #99802c;
/* rgb */ color: rgb(153, 128, 44);
/* oklch */ color: oklch(60.7% 0.106 92.1);
Tailwind
colors: {
  custom: {
    50: '#baa46a',
    500: '#99802c',
    950: '#000000',
  },
}
SCSS
$custom: #99802c;
$custom-light: #baa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#99802c",
  "rgb": {
    "r": 153,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 46.239,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.10557,
    "h": 92.1
  },
  "luminance": 0.22392
}

Semantic roles & 50–950 ramp

primary
#99802C
secondary
#6679BB
accent
#6BDF49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #99802C

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

Preview Lab → · Contrast checker → · Palette generator →

#99802C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva