#988F2A#988F2A

#988F2A is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.119 H 104.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#988F2A
RGBrgb(152, 143, 42)
HSLhsl(55, 57%, 38%)
HSVhsv(55, 72%, 60%)
CMYKcmyk(0%, 5.9%, 72.4%, 40.4%)
CIE-LABlab(58.50, -8.68, 51.99)
CIE-LCHlch(58.50, 52.71, 99.47°)
OKLaboklab(63.93% -0.0291 0.1154)
OKLCHoklch(63.93% 0.119 104.2)
XYZxyz(23.1902, 26.4884, 6.0813)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988F2A #2A3398
analogous
#98582A #988F2A #6A982A
triadic
#988F2A #2A988F #8F2A98
tetradic
#988F2A #2A9858 #2A3398 #982A6A
square
#988F2A #2A9858 #2A3398 #982A6A
split-complementary
#988F2A #2A6A98 #582A98
monochromatic
#383510 #68621D #988F2A #C8BC37 #D5CC67

Accessibility & contrast

On white

3.33
#988F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#988F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988F2A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988F2A#FFFFFF#000000##000000
##988F2A1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A19
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#A4857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #988f2a;
/* rgb */ color: rgb(152, 143, 42);
/* oklch */ color: oklch(63.9% 0.119 104.2);
Tailwind
colors: {
  custom: {
    50: '#baaf6b',
    500: '#988f2a',
    950: '#000000',
  },
}
SCSS
$custom: #988f2a;
$custom-light: #baaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#988f2a",
  "rgb": {
    "r": 152,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 55.091,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63925,
    "c": 0.11902,
    "h": 104.2
  },
  "luminance": 0.26487
}

Semantic roles & 50–950 ramp

primary
#988F2A
secondary
#626ABB
accent
#54E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #988F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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