#998C24#998C24

#998C24 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.120 H 101.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#998C24
RGBrgb(153, 140, 36)
HSLhsl(53, 62%, 37%)
HSVhsv(53, 76%, 60%)
CMYKcmyk(0%, 8.5%, 76.5%, 40%)
CIE-LABlab(57.71, -6.89, 53.52)
CIE-LCHlch(57.71, 53.96, 97.33°)
OKLaboklab(63.31% -0.0248 0.1174)
OKLCHoklch(63.31% 0.12 101.9)
XYZxyz(22.8344, 25.6569, 5.4182)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C24 #243199
analogous
#995124 #998C24 #6C9924
triadic
#998C24 #24998C #8C2499
tetradic
#998C24 #249951 #243199 #99246C
square
#998C24 #249951 #243199 #99246C
split-complementary
#998C24 #246C99 #512499
monochromatic
#36310D #675F18 #998C24 #CBB930 #D9CC5E

Accessibility & contrast

On white

3.43
#998C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#998C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C24
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C24#FFFFFF#000000##000000
##998C241.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880F
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#A58278
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c24;
/* rgb */ color: rgb(153, 140, 36);
/* oklch */ color: oklch(63.3% 0.120 101.9);
Tailwind
colors: {
  custom: {
    50: '#bbad67',
    500: '#998c24',
    950: '#000000',
  },
}
SCSS
$custom: #998c24;
$custom-light: #bbad67;
$custom-dark: #000000;
JSON
{
  "hex": "#998c24",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 53.333,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63308,
    "c": 0.12002,
    "h": 101.9
  },
  "luminance": 0.25656
}

Semantic roles & 50–950 ramp

primary
#998C24
secondary
#5B66BE
accent
#55E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998C24

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

Preview Lab → · Contrast checker → · Palette generator →

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