#998323#998323

#998323 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.114 H 95.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#998323
RGBrgb(153, 131, 35)
HSLhsl(49, 63%, 37%)
HSVhsv(49, 77%, 60%)
CMYKcmyk(0%, 14.4%, 77.1%, 40%)
CIE-LABlab(55.20, -1.99, 51.54)
CIE-LCHlch(55.20, 51.58, 92.21°)
OKLaboklab(61.32% -0.011 0.113)
OKLCHoklch(61.32% 0.114 95.6)
XYZxyz(21.5577, 23.1274, 4.9183)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998323 #233999
analogous
#994823 #998323 #749923
triadic
#998323 #239983 #832399
tetradic
#998323 #239948 #233999 #992374
square
#998323 #239948 #233999 #992374
split-complementary
#998323 #237499 #482399
monochromatic
#352E0C #675818 #998323 #CBAE2E #DAC25D

Accessibility & contrast

On white

3.73
#998323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#998323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998323
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998323#FFFFFF#000000##000000
##9983231.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#A67870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998323;
/* rgb */ color: rgb(153, 131, 35);
/* oklch */ color: oklch(61.3% 0.114 95.6);
Tailwind
colors: {
  custom: {
    50: '#bba666',
    500: '#998323',
    950: '#000000',
  },
}
SCSS
$custom: #998323;
$custom-light: #bba666;
$custom-dark: #000000;
JSON
{
  "hex": "#998323",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 48.814,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.11353,
    "h": 95.6
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#998323
secondary
#596CBE
accent
#61E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998323

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

Preview Lab → · Contrast checker → · Palette generator →

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