#988D23#988D23

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

Color values

HEX#988D23
RGBrgb(152, 141, 35)
HSLhsl(54, 63%, 37%)
HSVhsv(54, 77%, 60%)
CMYKcmyk(0%, 7.2%, 77%, 40.4%)
CIE-LABlab(57.89, -7.93, 54.01)
CIE-LCHlch(57.89, 54.59, 98.35°)
OKLaboklab(63.43% -0.0277 0.1183)
OKLCHoklch(63.43% 0.122 103.2)
XYZxyz(22.7782, 25.8475, 5.3790)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988D23 #232E98
analogous
#985323 #988D23 #699823
triadic
#988D23 #23988D #8D2398
tetradic
#988D23 #239853 #232E98 #982369
square
#988D23 #239853 #232E98 #982369
split-complementary
#988D23 #236998 #532398
monochromatic
#35310C #665F18 #988D23 #CABB2E #D9CE5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988D23#FFFFFF#000000##000000
##988D231.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)
#9A880C
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#A48379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #988d23;
/* rgb */ color: rgb(152, 141, 35);
/* oklch */ color: oklch(63.4% 0.122 103.2);
Tailwind
colors: {
  custom: {
    50: '#baae67',
    500: '#988d23',
    950: '#000000',
  },
}
SCSS
$custom: #988d23;
$custom-light: #baae67;
$custom-dark: #000000;
JSON
{
  "hex": "#988d23",
  "rgb": {
    "r": 152,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 54.359,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63429,
    "c": 0.12154,
    "h": 103.2
  },
  "luminance": 0.25847
}

Semantic roles & 50–950 ramp

primary
#988D23
secondary
#5962BE
accent
#52E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988D23

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

Preview Lab → · Contrast checker → · Palette generator →

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