#988E2A#988E2A

#988E2A is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.118 H 103.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#988E2A
RGBrgb(152, 142, 42)
HSLhsl(55, 57%, 38%)
HSVhsv(55, 72%, 60%)
CMYKcmyk(0%, 6.6%, 72.4%, 40.4%)
CIE-LABlab(58.22, -8.14, 51.72)
CIE-LCHlch(58.22, 52.36, 98.94°)
OKLaboklab(63.7% -0.0276 0.1148)
OKLCHoklch(63.7% 0.118 103.5)
XYZxyz(23.0408, 26.1895, 6.0315)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E2A #2A3498
analogous
#98572A #988E2A #6B982A
triadic
#988E2A #2A988E #8E2A98
tetradic
#988E2A #2A9857 #2A3498 #982A6B
square
#988E2A #2A9857 #2A3498 #982A6B
split-complementary
#988E2A #2A6B98 #572A98
monochromatic
#383410 #68611D #988E2A #C8BB37 #D5CB67

Accessibility & contrast

On white

3.37
#988E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#988E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988E2A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988E2A#FFFFFF#000000##000000
##988E2A1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A4847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #988e2a;
/* rgb */ color: rgb(152, 142, 42);
/* oklch */ color: oklch(63.7% 0.118 103.5);
Tailwind
colors: {
  custom: {
    50: '#baae6a',
    500: '#988e2a',
    950: '#000000',
  },
}
SCSS
$custom: #988e2a;
$custom-light: #baae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#988e2a",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 54.545,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63701,
    "c": 0.11808,
    "h": 103.5
  },
  "luminance": 0.26189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #988E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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