#988A2C#988A2C

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

Color values

HEX#988A2C
RGBrgb(152, 138, 44)
HSLhsl(52, 55%, 38%)
HSVhsv(52, 71%, 60%)
CMYKcmyk(0%, 9.2%, 71.1%, 40.4%)
CIE-LABlab(57.11, -5.86, 49.82)
CIE-LCHlch(57.11, 50.16, 96.71°)
OKLaboklab(62.83% -0.0209 0.1112)
OKLCHoklch(62.83% 0.113 100.7)
XYZxyz(22.4930, 25.0352, 6.0299)
Luminance0.2503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988A2C #2C3A98
analogous
#98542C #988A2C #70982C
triadic
#988A2C #2C988A #8A2C98
tetradic
#988A2C #2C9854 #2C3A98 #982C70
square
#988A2C #2C9854 #2C3A98 #982C70
split-complementary
#988A2C #2C7098 #542C98
monochromatic
#393411 #695F1E #988A2C #C6B43B #D4C66A

Accessibility & contrast

On white

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

On black

6.01
#988A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988A2C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988A2C#FFFFFF#000000##000000
##988A2C1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#A48077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #988a2c;
/* rgb */ color: rgb(152, 138, 44);
/* oklch */ color: oklch(62.8% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#baab6b',
    500: '#988a2c',
    950: '#000000',
  },
}
SCSS
$custom: #988a2c;
$custom-light: #baab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#988a2c",
  "rgb": {
    "r": 152,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 52.222,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62826,
    "c": 0.11312,
    "h": 100.7
  },
  "luminance": 0.25034
}

Semantic roles & 50–950 ramp

primary
#988A2C
secondary
#6570BB
accent
#5DDE49
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #988A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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