#998324#998324

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

Color values

HEX#998324
RGBrgb(153, 131, 36)
HSLhsl(49, 62%, 37%)
HSVhsv(49, 76%, 60%)
CMYKcmyk(0%, 14.4%, 76.5%, 40%)
CIE-LABlab(55.21, -1.94, 51.17)
CIE-LCHlch(55.21, 51.20, 92.17°)
OKLaboklab(61.33% -0.0108 0.1124)
OKLCHoklch(61.33% 0.113 95.5)
XYZxyz(21.5727, 23.1335, 4.9976)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998324 #243A99
analogous
#994924 #998324 #759924
triadic
#998324 #249983 #832499
tetradic
#998324 #249949 #243A99 #992475
square
#998324 #249949 #243A99 #992475
split-complementary
#998324 #247599 #492499
monochromatic
#362E0D #675918 #998324 #CBAD30 #D9C25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998324#FFFFFF#000000##000000
##9983241.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)
#918013
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#A67871
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #998324;
/* rgb */ color: rgb(153, 131, 36);
/* oklch */ color: oklch(61.3% 0.113 95.5);
Tailwind
colors: {
  custom: {
    50: '#bba666',
    500: '#998324',
    950: '#000000',
  },
}
SCSS
$custom: #998324;
$custom-light: #bba666;
$custom-dark: #000000;
JSON
{
  "hex": "#998324",
  "rgb": {
    "r": 153,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 48.718,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.11293,
    "h": 95.5
  },
  "luminance": 0.23132
}

Semantic roles & 50–950 ramp

primary
#998324
secondary
#5B6DBE
accent
#61E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998324

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

Preview Lab → · Contrast checker → · Palette generator →

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