#998D24#998D24

#998D24 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.121 H 102.6°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#998D24
RGBrgb(153, 141, 36)
HSLhsl(54, 62%, 37%)
HSVhsv(54, 76%, 60%)
CMYKcmyk(0%, 7.8%, 76.5%, 40%)
CIE-LABlab(57.99, -7.43, 53.78)
CIE-LCHlch(57.99, 54.30, 97.86°)
OKLaboklab(63.53% -0.0263 0.118)
OKLCHoklch(63.53% 0.121 102.6)
XYZxyz(22.9812, 25.9504, 5.4671)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D24 #243099
analogous
#995324 #998D24 #6B9924
triadic
#998D24 #24998D #8D2499
tetradic
#998D24 #249953 #243099 #99246B
square
#998D24 #249953 #243099 #99246B
split-complementary
#998D24 #246B99 #532499
monochromatic
#36320D #675F18 #998D24 #CBBB30 #D9CD5E

Accessibility & contrast

On white

3.39
#998D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#998D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D24
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D24#FFFFFF#000000##000000
##998D241.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880E
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d24;
/* rgb */ color: rgb(153, 141, 36);
/* oklch */ color: oklch(63.5% 0.121 102.6);
Tailwind
colors: {
  custom: {
    50: '#bbae67',
    500: '#998d24',
    950: '#000000',
  },
}
SCSS
$custom: #998d24;
$custom-light: #bbae67;
$custom-dark: #000000;
JSON
{
  "hex": "#998d24",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 53.846,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63531,
    "c": 0.12088,
    "h": 102.6
  },
  "luminance": 0.25949
}

Semantic roles & 50–950 ramp

primary
#998D24
secondary
#5B65BE
accent
#53E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998D24

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

Preview Lab → · Contrast checker → · Palette generator →

#998D24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva