#98802C#98802C

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

Color values

HEX#98802C
RGBrgb(152, 128, 44)
HSLhsl(47, 55%, 38%)
HSVhsv(47, 71%, 60%)
CMYKcmyk(0%, 15.8%, 71.1%, 40.4%)
CIE-LABlab(54.34, -0.33, 47.02)
CIE-LCHlch(54.34, 47.02, 90.40°)
OKLaboklab(60.63% -0.0052 0.1053)
OKLCHoklch(60.63% 0.105 92.8)
XYZxyz(21.1238, 22.2968, 5.5735)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98802C #2C4498
analogous
#984A2C #98802C #7A982C
triadic
#98802C #2C9880 #802C98
tetradic
#98802C #2C984A #2C4498 #982C7A
square
#98802C #2C984A #2C4498 #982C7A
split-complementary
#98802C #2C7A98 #4A2C98
monochromatic
#393011 #69581E #98802C #C6A73B #D4BD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98802C#FFFFFF#000000##000000
##98802C1.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)
#8E7E21
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#A4766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #98802c;
/* rgb */ color: rgb(152, 128, 44);
/* oklch */ color: oklch(60.6% 0.105 92.8);
Tailwind
colors: {
  custom: {
    50: '#baa46a',
    500: '#98802c',
    950: '#000000',
  },
}
SCSS
$custom: #98802c;
$custom-light: #baa46a;
$custom-dark: #000000;
JSON
{
  "hex": "#98802c",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 46.667,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.10538,
    "h": 92.8
  },
  "luminance": 0.22296
}

Semantic roles & 50–950 ramp

primary
#98802C
secondary
#6578BB
accent
#6ADE49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #98802C

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

Preview Lab → · Contrast checker → · Palette generator →

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