#998523#998523

#998523 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.115 H 97.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#998523
RGBrgb(153, 133, 35)
HSLhsl(50, 63%, 37%)
HSVhsv(50, 77%, 60%)
CMYKcmyk(0%, 13.1%, 77.1%, 40%)
CIE-LABlab(55.76, -3.09, 52.06)
CIE-LCHlch(55.76, 52.15, 93.40°)
OKLaboklab(61.76% -0.0141 0.1141)
OKLCHoklch(61.76% 0.115 97.1)
XYZxyz(21.8289, 23.6699, 5.0087)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998523 #233799
analogous
#994A23 #998523 #729923
triadic
#998523 #239985 #852399
tetradic
#998523 #23994A #233799 #992372
square
#998523 #23994A #233799 #992372
split-complementary
#998523 #237299 #4A2399
monochromatic
#352E0C #675A18 #998523 #CBB02E #DAC55D

Accessibility & contrast

On white

3.66
#998523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#998523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998523
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998523#FFFFFF#000000##000000
##9985231.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938210
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#A67A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998523;
/* rgb */ color: rgb(153, 133, 35);
/* oklch */ color: oklch(61.8% 0.115 97.1);
Tailwind
colors: {
  custom: {
    50: '#bba866',
    500: '#998523',
    950: '#000000',
  },
}
SCSS
$custom: #998523;
$custom-light: #bba866;
$custom-dark: #000000;
JSON
{
  "hex": "#998523",
  "rgb": {
    "r": 153,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 49.831,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.11498,
    "h": 97.1
  },
  "luminance": 0.23669
}

Semantic roles & 50–950 ramp

primary
#998523
secondary
#596ABE
accent
#5EE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998523

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

Preview Lab → · Contrast checker → · Palette generator →

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