#988823#988823

#988823 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.117 H 99.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#988823
RGBrgb(152, 136, 35)
HSLhsl(52, 63%, 37%)
HSVhsv(52, 77%, 60%)
CMYKcmyk(0%, 10.5%, 77%, 40.4%)
CIE-LABlab(56.49, -5.20, 52.71)
CIE-LCHlch(56.49, 52.97, 95.64°)
OKLaboklab(62.32% -0.02 0.1156)
OKLCHoklch(62.32% 0.117 99.8)
XYZxyz(22.0575, 24.4061, 5.1388)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988823 #233398
analogous
#984E23 #988823 #6E9823
triadic
#988823 #239888 #882398
tetradic
#988823 #23984E #233398 #98236E
square
#988823 #23984E #233398 #98236E
split-complementary
#988823 #236E98 #4E2398
monochromatic
#352F0C #665B18 #988823 #CAB52E #D9C85C

Accessibility & contrast

On white

3.57
#988823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#988823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988823
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988823#FFFFFF#000000##000000
##9888231.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840F
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#A47E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #988823;
/* rgb */ color: rgb(152, 136, 35);
/* oklch */ color: oklch(62.3% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#baaa66',
    500: '#988823',
    950: '#000000',
  },
}
SCSS
$custom: #988823;
$custom-light: #baaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#988823",
  "rgb": {
    "r": 152,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 51.795,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62317,
    "c": 0.11728,
    "h": 99.8
  },
  "luminance": 0.24405
}

Semantic roles & 50–950 ramp

primary
#988823
secondary
#5967BE
accent
#59E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988823

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

Preview Lab → · Contrast checker → · Palette generator →

#988823 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva