#998823#998823

#998823 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.4% C 0.117 H 99.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#998823
RGBrgb(153, 136, 35)
HSLhsl(51, 63%, 37%)
HSVhsv(51, 77%, 60%)
CMYKcmyk(0%, 11.1%, 77.1%, 40%)
CIE-LABlab(56.59, -4.75, 52.83)
CIE-LCHlch(56.59, 53.05, 95.13°)
OKLaboklab(62.42% -0.0188 0.1158)
OKLCHoklch(62.42% 0.117 99.2)
XYZxyz(22.2455, 24.5031, 5.1476)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998823 #233499
analogous
#994D23 #998823 #6F9923
triadic
#998823 #239988 #882399
tetradic
#998823 #23994D #233499 #99236F
square
#998823 #23994D #233499 #99236F
split-complementary
#998823 #236F99 #4D2399
monochromatic
#352F0C #675C18 #998823 #CBB42E #DAC85D

Accessibility & contrast

On white

3.56
#998823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#998823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998823
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998823#FFFFFF#000000##000000
##9988231.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998823;
/* rgb */ color: rgb(153, 136, 35);
/* oklch */ color: oklch(62.4% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#bbaa66',
    500: '#998823',
    950: '#000000',
  },
}
SCSS
$custom: #998823;
$custom-light: #bbaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#998823",
  "rgb": {
    "r": 153,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 51.356,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62416,
    "c": 0.11729,
    "h": 99.2
  },
  "luminance": 0.24502
}

Semantic roles & 50–950 ramp

primary
#998823
secondary
#5968BE
accent
#5AE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998823

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

Preview Lab → · Contrast checker → · Palette generator →

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