#998327#998327

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

Color values

HEX#998327
RGBrgb(153, 131, 39)
HSLhsl(48, 59%, 38%)
HSVhsv(48, 75%, 60%)
CMYKcmyk(0%, 14.4%, 74.5%, 40%)
CIE-LABlab(55.23, -1.80, 50.02)
CIE-LCHlch(55.23, 50.05, 92.06°)
OKLaboklab(61.35% -0.01 0.1106)
OKLCHoklch(61.35% 0.111 95.2)
XYZxyz(21.6205, 23.1526, 5.2492)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998327 #273D99
analogous
#994A27 #998327 #769927
triadic
#998327 #279983 #832799
tetradic
#998327 #27994A #273D99 #992776
square
#998327 #27994A #273D99 #992776
split-complementary
#998327 #277699 #4A2799
monochromatic
#372F0E #68591B #998327 #CAAD33 #D7C163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #998327;
/* rgb */ color: rgb(153, 131, 39);
/* oklch */ color: oklch(61.3% 0.111 95.2);
Tailwind
colors: {
  custom: {
    50: '#bba668',
    500: '#998327',
    950: '#000000',
  },
}
SCSS
$custom: #998327;
$custom-light: #bba668;
$custom-dark: #000000;
JSON
{
  "hex": "#998327",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 48.421,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.11105,
    "h": 95.2
  },
  "luminance": 0.23151
}

Semantic roles & 50–950 ramp

primary
#998327
secondary
#5F71BD
accent
#64E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998327

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

Preview Lab → · Contrast checker → · Palette generator →

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