#998A24#998A24

#998A24 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.118 H 100.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#998A24
RGBrgb(153, 138, 36)
HSLhsl(52, 62%, 37%)
HSVhsv(52, 76%, 60%)
CMYKcmyk(0%, 9.8%, 76.5%, 40%)
CIE-LABlab(57.15, -5.80, 53.00)
CIE-LCHlch(57.15, 53.31, 96.24°)
OKLaboklab(62.87% -0.0217 0.1163)
OKLCHoklch(62.87% 0.118 100.6)
XYZxyz(22.5449, 25.0777, 5.3217)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998A24 #243399
analogous
#995024 #998A24 #6D9924
triadic
#998A24 #24998A #8A2499
tetradic
#998A24 #249950 #243399 #99246D
square
#998A24 #249950 #243399 #99246D
split-complementary
#998A24 #246D99 #502499
monochromatic
#36310D #675D18 #998A24 #CBB730 #D9C95E

Accessibility & contrast

On white

3.49
#998A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#998A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998A24
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998A24#FFFFFF#000000##000000
##998A241.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988610
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#A58076
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #998a24;
/* rgb */ color: rgb(153, 138, 36);
/* oklch */ color: oklch(62.9% 0.118 100.6);
Tailwind
colors: {
  custom: {
    50: '#bbab67',
    500: '#998a24',
    950: '#000000',
  },
}
SCSS
$custom: #998a24;
$custom-light: #bbab67;
$custom-dark: #000000;
JSON
{
  "hex": "#998a24",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 52.308,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62865,
    "c": 0.11832,
    "h": 100.6
  },
  "luminance": 0.25077
}

Semantic roles & 50–950 ramp

primary
#998A24
secondary
#5B67BE
accent
#58E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #998A24

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

Preview Lab → · Contrast checker → · Palette generator →

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