#998924#998924

#998924 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.117 H 99.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#998924
RGBrgb(153, 137, 36)
HSLhsl(52, 62%, 37%)
HSVhsv(52, 76%, 60%)
CMYKcmyk(0%, 10.5%, 76.5%, 40%)
CIE-LABlab(56.87, -5.25, 52.74)
CIE-LCHlch(56.87, 53.00, 95.69°)
OKLaboklab(62.64% -0.0201 0.1158)
OKLCHoklch(62.64% 0.118 99.9)
XYZxyz(22.4021, 24.7921, 5.2741)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998924 #243499
analogous
#994F24 #998924 #6F9924
triadic
#998924 #249989 #892499
tetradic
#998924 #24994F #243499 #99246F
square
#998924 #24994F #243499 #99246F
split-complementary
#998924 #246F99 #4F2499
monochromatic
#36300D #675D18 #998924 #CBB530 #D9C85E

Accessibility & contrast

On white

3.52
#998924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#998924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998924
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998924#FFFFFF#000000##000000
##9989241.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978510
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#A57F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #998924;
/* rgb */ color: rgb(153, 137, 36);
/* oklch */ color: oklch(62.6% 0.117 99.9);
Tailwind
colors: {
  custom: {
    50: '#bbab67',
    500: '#998924',
    950: '#000000',
  },
}
SCSS
$custom: #998924;
$custom-light: #bbab67;
$custom-dark: #000000;
JSON
{
  "hex": "#998924",
  "rgb": {
    "r": 153,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 51.795,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62643,
    "c": 0.1175,
    "h": 99.9
  },
  "luminance": 0.24791
}

Semantic roles & 50–950 ramp

primary
#998924
secondary
#5B68BE
accent
#59E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998924

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

Preview Lab → · Contrast checker → · Palette generator →

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