#988024#988024

#988024 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.6% C 0.111 H 93.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#988024
RGBrgb(152, 128, 36)
HSLhsl(48, 62%, 37%)
HSVhsv(48, 76%, 60%)
CMYKcmyk(0%, 15.8%, 76.3%, 40.4%)
CIE-LABlab(54.28, -0.73, 50.25)
CIE-LCHlch(54.28, 50.26, 90.84°)
OKLaboklab(60.57% -0.0072 0.1105)
OKLCHoklch(60.57% 0.111 93.8)
XYZxyz(20.9876, 22.2423, 4.8565)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988024 #243C98
analogous
#984624 #988024 #769824
triadic
#988024 #249880 #802498
tetradic
#988024 #249846 #243C98 #982476
square
#988024 #249846 #243C98 #982476
split-complementary
#988024 #247698 #462498
monochromatic
#352D0D #675618 #988024 #C9AA30 #D9BF5E

Accessibility & contrast

On white

3.85
#988024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#988024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988024
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988024#FFFFFF#000000##000000
##9880241.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #988024;
/* rgb */ color: rgb(152, 128, 36);
/* oklch */ color: oklch(60.6% 0.111 93.8);
Tailwind
colors: {
  custom: {
    50: '#baa466',
    500: '#988024',
    950: '#000000',
  },
}
SCSS
$custom: #988024;
$custom-light: #baa466;
$custom-dark: #000000;
JSON
{
  "hex": "#988024",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 47.586,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.11076,
    "h": 93.8
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#988024
secondary
#5A6FBE
accent
#64E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988024

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

Preview Lab → · Contrast checker → · Palette generator →

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