#998024#998024

#998024 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.7% C 0.111 H 93.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#998024
RGBrgb(153, 128, 36)
HSLhsl(47, 62%, 37%)
HSVhsv(47, 76%, 60%)
CMYKcmyk(0%, 16.3%, 76.5%, 40%)
CIE-LABlab(54.39, -0.27, 50.38)
CIE-LCHlch(54.39, 50.38, 90.31°)
OKLaboklab(60.68% -0.006 0.1108)
OKLCHoklch(60.68% 0.111 93.1)
XYZxyz(21.1756, 22.3393, 4.8653)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998024 #243D99
analogous
#994524 #998024 #789924
triadic
#998024 #249980 #802499
tetradic
#998024 #249945 #243D99 #992478
square
#998024 #249945 #243D99 #992478
split-complementary
#998024 #247899 #452499
monochromatic
#362D0D #675718 #998024 #CBA930 #D9BF5E

Accessibility & contrast

On white

3.84
#998024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#998024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998024
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998024#FFFFFF#000000##000000
##9980241.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#958529
Tritanopia (blue-blind)
#A6756E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #998024;
/* rgb */ color: rgb(153, 128, 36);
/* oklch */ color: oklch(60.7% 0.111 93.1);
Tailwind
colors: {
  custom: {
    50: '#bba466',
    500: '#998024',
    950: '#000000',
  },
}
SCSS
$custom: #998024;
$custom-light: #bba466;
$custom-dark: #000000;
JSON
{
  "hex": "#998024",
  "rgb": {
    "r": 153,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 47.179,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.11092,
    "h": 93.1
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#998024
secondary
#5B70BE
accent
#65E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998024

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

Preview Lab → · Contrast checker → · Palette generator →

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