#988B2A#988B2A

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

Color values

HEX#988B2A
RGBrgb(152, 139, 42)
HSLhsl(53, 57%, 38%)
HSVhsv(53, 72%, 60%)
CMYKcmyk(0%, 8.6%, 72.4%, 40.4%)
CIE-LABlab(57.38, -6.51, 50.89)
CIE-LCHlch(57.38, 51.31, 97.29°)
OKLaboklab(63.03% -0.023 0.1131)
OKLCHoklch(63.03% 0.115 101.5)
XYZxyz(22.6004, 25.3088, 5.8847)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988B2A #2A3798
analogous
#98542A #988B2A #6E982A
triadic
#988B2A #2A988B #8B2A98
tetradic
#988B2A #2A9854 #2A3798 #982A6E
square
#988B2A #2A9854 #2A3798 #982A6E
split-complementary
#988B2A #2A6E98 #542A98
monochromatic
#383310 #685F1D #988B2A #C8B737 #D5C867

Accessibility & contrast

On white

3.46
#988B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#988B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988B2A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988B2A#FFFFFF#000000##000000
##988B2A1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871B
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#A48178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #988b2a;
/* rgb */ color: rgb(152, 139, 42);
/* oklch */ color: oklch(63.0% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#baac6a',
    500: '#988b2a',
    950: '#000000',
  },
}
SCSS
$custom: #988b2a;
$custom-light: #baac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#988b2a",
  "rgb": {
    "r": 152,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 52.909,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63033,
    "c": 0.11539,
    "h": 101.5
  },
  "luminance": 0.25308
}

Semantic roles & 50–950 ramp

primary
#988B2A
secondary
#626DBB
accent
#5AE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #988B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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