#988923#988923

#988923 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.118 H 100.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#988923
RGBrgb(152, 137, 35)
HSLhsl(52, 63%, 37%)
HSVhsv(52, 77%, 60%)
CMYKcmyk(0%, 9.9%, 77%, 40.4%)
CIE-LABlab(56.77, -5.75, 52.97)
CIE-LCHlch(56.77, 53.28, 96.20°)
OKLaboklab(62.54% -0.0216 0.1161)
OKLCHoklch(62.54% 0.118 100.5)
XYZxyz(22.1990, 24.6891, 5.1860)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988923 #233298
analogous
#984F23 #988923 #6D9823
triadic
#988923 #239889 #892398
tetradic
#988923 #23984F #233298 #98236D
square
#988923 #23984F #233298 #98236D
split-complementary
#988923 #236D98 #4F2398
monochromatic
#352F0C #665C18 #988923 #CAB62E #D9C95C

Accessibility & contrast

On white

3.54
#988923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#988923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988923
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988923#FFFFFF#000000##000000
##9889231.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850E
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#A47F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988923;
/* rgb */ color: rgb(152, 137, 35);
/* oklch */ color: oklch(62.5% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#baab66',
    500: '#988923',
    950: '#000000',
  },
}
SCSS
$custom: #988923;
$custom-light: #baab66;
$custom-dark: #000000;
JSON
{
  "hex": "#988923",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 52.308,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62539,
    "c": 0.11809,
    "h": 100.5
  },
  "luminance": 0.24688
}

Semantic roles & 50–950 ramp

primary
#988923
secondary
#5966BE
accent
#57E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988923

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

Preview Lab → · Contrast checker → · Palette generator →

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