#988D2D#988D2D

#988D2D is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.115 H 102.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#988D2D
RGBrgb(152, 141, 45)
HSLhsl(54, 54%, 39%)
HSVhsv(54, 70%, 60%)
CMYKcmyk(0%, 7.2%, 70.4%, 40.4%)
CIE-LABlab(57.96, -7.43, 50.26)
CIE-LCHlch(57.96, 50.80, 98.42°)
OKLaboklab(63.5% -0.0253 0.1123)
OKLCHoklch(63.5% 0.115 102.7)
XYZxyz(22.9484, 25.9156, 6.2755)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988D2D #2D3898
analogous
#98572D #988D2D #6D982D
triadic
#988D2D #2D988D #8D2D98
tetradic
#988D2D #2D9857 #2D3898 #982D6D
square
#988D2D #2D9857 #2D3898 #982D6D
split-complementary
#988D2D #2D6D98 #572D98
monochromatic
#3A3511 #69611F #988D2D #C5B73D #D3C96C

Accessibility & contrast

On white

3.40
#988D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#988D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988D2D
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988D2D#FFFFFF#000000##000000
##988D2D1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881F
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#A4837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #988d2d;
/* rgb */ color: rgb(152, 141, 45);
/* oklch */ color: oklch(63.5% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#b9ae6c',
    500: '#988d2d',
    950: '#000000',
  },
}
SCSS
$custom: #988d2d;
$custom-light: #b9ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#988d2d",
  "rgb": {
    "r": 152,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 53.832,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63502,
    "c": 0.11509,
    "h": 102.7
  },
  "luminance": 0.25915
}

Semantic roles & 50–950 ramp

primary
#988D2D
secondary
#666FBA
accent
#59DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #988D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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