#988C23#988C23

#988C23 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.121 H 102.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#988C23
RGBrgb(152, 140, 35)
HSLhsl(54, 63%, 37%)
HSVhsv(54, 77%, 60%)
CMYKcmyk(0%, 7.9%, 77%, 40.4%)
CIE-LABlab(57.61, -7.39, 53.75)
CIE-LCHlch(57.61, 54.26, 97.82°)
OKLaboklab(63.21% -0.0262 0.1178)
OKLCHoklch(63.21% 0.121 102.5)
XYZxyz(22.6314, 25.5539, 5.3301)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988C23 #232F98
analogous
#985223 #988C23 #6A9823
triadic
#988C23 #23988C #8C2398
tetradic
#988C23 #239852 #232F98 #98236A
square
#988C23 #239852 #232F98 #98236A
split-complementary
#988C23 #236A98 #522398
monochromatic
#35300C #665E18 #988C23 #CABA2E #D9CD5C

Accessibility & contrast

On white

3.44
#988C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#988C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988C23
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988C23#FFFFFF#000000##000000
##988C231.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#A48278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #988c23;
/* rgb */ color: rgb(152, 140, 35);
/* oklch */ color: oklch(63.2% 0.121 102.5);
Tailwind
colors: {
  custom: {
    50: '#baad67',
    500: '#988c23',
    950: '#000000',
  },
}
SCSS
$custom: #988c23;
$custom-light: #baad67;
$custom-dark: #000000;
JSON
{
  "hex": "#988c23",
  "rgb": {
    "r": 152,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 53.846,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63206,
    "c": 0.12065,
    "h": 102.5
  },
  "luminance": 0.25553
}

Semantic roles & 50–950 ramp

primary
#988C23
secondary
#5963BE
accent
#53E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988C23

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

Preview Lab → · Contrast checker → · Palette generator →

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