#98802A#98802A

#98802A is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.107 H 93.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#98802A
RGBrgb(152, 128, 42)
HSLhsl(47, 57%, 38%)
HSVhsv(47, 72%, 60%)
CMYKcmyk(0%, 15.8%, 72.4%, 40.4%)
CIE-LABlab(54.33, -0.44, 47.86)
CIE-LCHlch(54.33, 47.86, 90.52°)
OKLaboklab(60.62% -0.0057 0.1067)
OKLCHoklch(60.62% 0.107 93.1)
XYZxyz(21.0871, 22.2821, 5.3802)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98802A #2A4298
analogous
#98492A #98802A #79982A
triadic
#98802A #2A9880 #802A98
tetradic
#98802A #2A9849 #2A4298 #982A79
square
#98802A #2A9849 #2A4298 #982A79
split-complementary
#98802A #2A7998 #492A98
monochromatic
#382F10 #68581D #98802A #C8A837 #D5BD67

Accessibility & contrast

On white

3.85
#98802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#98802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98802A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98802A#FFFFFF#000000##000000
##98802A1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #98802a;
/* rgb */ color: rgb(152, 128, 42);
/* oklch */ color: oklch(60.6% 0.107 93.1);
Tailwind
colors: {
  custom: {
    50: '#baa469',
    500: '#98802a',
    950: '#000000',
  },
}
SCSS
$custom: #98802a;
$custom-light: #baa469;
$custom-dark: #000000;
JSON
{
  "hex": "#98802a",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 46.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.1068,
    "h": 93.1
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#98802A
secondary
#6276BB
accent
#69E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #98802A

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

Preview Lab → · Contrast checker → · Palette generator →

#98802A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva