#988D24#988D24

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

Color values

HEX#988D24
RGBrgb(152, 141, 36)
HSLhsl(54, 62%, 37%)
HSVhsv(54, 76%, 60%)
CMYKcmyk(0%, 7.2%, 76.3%, 40.4%)
CIE-LABlab(57.90, -7.88, 53.67)
CIE-LCHlch(57.90, 54.24, 98.36°)
OKLaboklab(63.44% -0.0275 0.1178)
OKLCHoklch(63.44% 0.121 103.1)
XYZxyz(22.7932, 25.8535, 5.4583)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988D24 #242F98
analogous
#985324 #988D24 #699824
triadic
#988D24 #24988D #8D2498
tetradic
#988D24 #249853 #242F98 #982469
square
#988D24 #249853 #242F98 #982469
split-complementary
#988D24 #246998 #532498
monochromatic
#35310D #675F18 #988D24 #C9BB30 #D9CD5E

Accessibility & contrast

On white

3.40
#988D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#988D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988D24
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988D24#FFFFFF#000000##000000
##988D241.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #988d24;
/* rgb */ color: rgb(152, 141, 36);
/* oklch */ color: oklch(63.4% 0.121 103.1);
Tailwind
colors: {
  custom: {
    50: '#baae67',
    500: '#988d24',
    950: '#000000',
  },
}
SCSS
$custom: #988d24;
$custom-light: #baae67;
$custom-dark: #000000;
JSON
{
  "hex": "#988d24",
  "rgb": {
    "r": 152,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 54.31,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63436,
    "c": 0.12095,
    "h": 103.1
  },
  "luminance": 0.25853
}

Semantic roles & 50–950 ramp

primary
#988D24
secondary
#5A64BE
accent
#52E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988D24

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

Preview Lab → · Contrast checker → · Palette generator →

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