#998326#998326

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

Color values

HEX#998326
RGBrgb(153, 131, 38)
HSLhsl(49, 60%, 37%)
HSVhsv(49, 75%, 60%)
CMYKcmyk(0%, 14.4%, 75.2%, 40%)
CIE-LABlab(55.22, -1.85, 50.41)
CIE-LCHlch(55.22, 50.44, 92.10°)
OKLaboklab(61.34% -0.0103 0.1112)
OKLCHoklch(61.34% 0.112 95.3)
XYZxyz(21.6042, 23.1460, 5.1630)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998326 #263C99
analogous
#994A26 #998326 #759926
triadic
#998326 #269983 #832699
tetradic
#998326 #26994A #263C99 #992675
square
#998326 #26994A #263C99 #992675
split-complementary
#998326 #267599 #4A2699
monochromatic
#372F0E #68591A #998326 #CAAD32 #D8C162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998326#FFFFFF#000000##000000
##9983261.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)
#918016
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#A67871
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998326;
/* rgb */ color: rgb(153, 131, 38);
/* oklch */ color: oklch(61.3% 0.112 95.3);
Tailwind
colors: {
  custom: {
    50: '#bba667',
    500: '#998326',
    950: '#000000',
  },
}
SCSS
$custom: #998326;
$custom-light: #bba667;
$custom-dark: #000000;
JSON
{
  "hex": "#998326",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 48.522,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.11169,
    "h": 95.3
  },
  "luminance": 0.23145
}

Semantic roles & 50–950 ramp

primary
#998326
secondary
#5E70BD
accent
#63E344
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998326

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

Preview Lab → · Contrast checker → · Palette generator →

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