#988A23#988A23

#988A23 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.8% C 0.119 H 101.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#988A23
RGBrgb(152, 138, 35)
HSLhsl(53, 63%, 37%)
HSVhsv(53, 77%, 60%)
CMYKcmyk(0%, 9.2%, 77%, 40.4%)
CIE-LABlab(57.05, -6.30, 53.23)
CIE-LCHlch(57.05, 53.60, 96.75°)
OKLaboklab(62.76% -0.0231 0.1167)
OKLCHoklch(62.76% 0.119 101.2)
XYZxyz(22.3418, 24.9747, 5.2336)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988A23 #233198
analogous
#985023 #988A23 #6C9823
triadic
#988A23 #23988A #8A2398
tetradic
#988A23 #239850 #233198 #98236C
square
#988A23 #239850 #233198 #98236C
split-complementary
#988A23 #236C98 #502398
monochromatic
#35300C #665D18 #988A23 #CAB72E #D9CA5C

Accessibility & contrast

On white

3.50
#988A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#988A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988A23
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988A23#FFFFFF#000000##000000
##988A231.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860E
Deuteranopia (green-blind)
#9C8B2A
Tritanopia (blue-blind)
#A48076
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #988a23;
/* rgb */ color: rgb(152, 138, 35);
/* oklch */ color: oklch(62.8% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#baab66',
    500: '#988a23',
    950: '#000000',
  },
}
SCSS
$custom: #988a23;
$custom-light: #baab66;
$custom-dark: #000000;
JSON
{
  "hex": "#988a23",
  "rgb": {
    "r": 152,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 52.821,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62761,
    "c": 0.11893,
    "h": 101.2
  },
  "luminance": 0.24974
}

Semantic roles & 50–950 ramp

primary
#988A23
secondary
#5965BE
accent
#56E642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988A23

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

Preview Lab → · Contrast checker → · Palette generator →

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