#988B23#988B23

#988B23 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.120 H 101.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#988B23
RGBrgb(152, 139, 35)
HSLhsl(53, 63%, 37%)
HSVhsv(53, 77%, 60%)
CMYKcmyk(0%, 8.6%, 77%, 40.4%)
CIE-LABlab(57.33, -6.84, 53.49)
CIE-LCHlch(57.33, 53.93, 97.29°)
OKLaboklab(62.98% -0.0247 0.1172)
OKLCHoklch(62.98% 0.12 101.9)
XYZxyz(22.4859, 25.2630, 5.2816)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988B23 #233098
analogous
#985123 #988B23 #6B9823
triadic
#988B23 #23988B #8B2398
tetradic
#988B23 #239851 #233098 #98236B
square
#988B23 #239851 #233098 #98236B
split-complementary
#988B23 #236B98 #512398
monochromatic
#35300C #665E18 #988B23 #CAB82E #D9CC5C

Accessibility & contrast

On white

3.47
#988B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#988B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988B23
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988B23#FFFFFF#000000##000000
##988B231.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98870D
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#A48177
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #988b23;
/* rgb */ color: rgb(152, 139, 35);
/* oklch */ color: oklch(63.0% 0.120 101.9);
Tailwind
colors: {
  custom: {
    50: '#baac67',
    500: '#988b23',
    950: '#000000',
  },
}
SCSS
$custom: #988b23;
$custom-light: #baac67;
$custom-dark: #000000;
JSON
{
  "hex": "#988b23",
  "rgb": {
    "r": 152,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 53.333,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62983,
    "c": 0.11978,
    "h": 101.9
  },
  "luminance": 0.25262
}

Semantic roles & 50–950 ramp

primary
#988B23
secondary
#5964BE
accent
#54E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988B23

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

Preview Lab → · Contrast checker → · Palette generator →

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