#988F24#988F24

#988F24 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.123 H 104.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#988F24
RGBrgb(152, 143, 36)
HSLhsl(55, 62%, 37%)
HSVhsv(55, 76%, 60%)
CMYKcmyk(0%, 5.9%, 76.3%, 40.4%)
CIE-LABlab(58.46, -8.96, 54.19)
CIE-LCHlch(58.46, 54.93, 99.39°)
OKLaboklab(63.88% -0.0305 0.1189)
OKLCHoklch(63.88% 0.123 104.4)
XYZxyz(23.0908, 26.4486, 5.5575)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988F24 #242D98
analogous
#985524 #988F24 #679824
triadic
#988F24 #24988F #8F2498
tetradic
#988F24 #249855 #242D98 #982467
square
#988F24 #249855 #242D98 #982467
split-complementary
#988F24 #246798 #552498
monochromatic
#35320D #676018 #988F24 #C9BE30 #D9CF5E

Accessibility & contrast

On white

3.34
#988F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#988F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988F24
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988F24#FFFFFF#000000##000000
##988F241.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0D
Deuteranopia (green-blind)
#9F8F2C
Tritanopia (blue-blind)
#A4857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #988f24;
/* rgb */ color: rgb(152, 143, 36);
/* oklch */ color: oklch(63.9% 0.123 104.4);
Tailwind
colors: {
  custom: {
    50: '#baaf68',
    500: '#988f24',
    950: '#000000',
  },
}
SCSS
$custom: #988f24;
$custom-light: #baaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#988f24",
  "rgb": {
    "r": 152,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 55.345,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63883,
    "c": 0.12276,
    "h": 104.4
  },
  "luminance": 0.26448
}

Semantic roles & 50–950 ramp

primary
#988F24
secondary
#5A62BE
accent
#50E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988F24

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

Preview Lab → · Contrast checker → · Palette generator →

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