#98802D#98802D

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

Color values

HEX#98802D
RGBrgb(152, 128, 45)
HSLhsl(47, 54%, 39%)
HSVhsv(47, 70%, 60%)
CMYKcmyk(0%, 15.8%, 70.4%, 40.4%)
CIE-LABlab(54.35, -0.27, 46.59)
CIE-LCHlch(54.35, 46.59, 90.33°)
OKLaboklab(60.64% -0.0049 0.1045)
OKLCHoklch(60.64% 0.105 92.7)
XYZxyz(21.1428, 22.3044, 5.6737)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98802D #2D4598
analogous
#984A2D #98802D #7A982D
triadic
#98802D #2D9880 #802D98
tetradic
#98802D #2D984A #2D4598 #982D7A
square
#98802D #2D984A #2D4598 #982D7A
split-complementary
#98802D #2D7A98 #4A2D98
monochromatic
#3A3011 #69581F #98802D #C5A73D #D3BC6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98802D#FFFFFF#000000##000000
##98802D1.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)
#8E7E22
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #98802d;
/* rgb */ color: rgb(152, 128, 45);
/* oklch */ color: oklch(60.6% 0.105 92.7);
Tailwind
colors: {
  custom: {
    50: '#baa46b',
    500: '#98802d',
    950: '#000000',
  },
}
SCSS
$custom: #98802d;
$custom-light: #baa46b;
$custom-dark: #000000;
JSON
{
  "hex": "#98802d",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 46.542,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.10463,
    "h": 92.7
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#98802D
secondary
#6679BA
accent
#6BDE4A
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #98802D

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

Preview Lab → · Contrast checker → · Palette generator →

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