#988E4F#988E4F

#988E4F is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.1% C 0.085 H 100.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#988E4F
RGBrgb(152, 142, 79)
HSLhsl(52, 32%, 45%)
HSVhsv(52, 48%, 60%)
CMYKcmyk(0%, 6.6%, 48%, 40.4%)
CIE-LABlab(58.59, -5.33, 34.72)
CIE-LCHlch(58.59, 35.13, 98.73°)
OKLaboklab(64.12% -0.0153 0.0832)
OKLCHoklch(64.12% 0.085 100.4)
XYZxyz(24.0338, 26.5867, 11.2614)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E4F #4F5998
analogous
#98694F #988E4F #7D984F
triadic
#988E4F #4F988E #8E4F98
tetradic
#988E4F #4F9869 #4F5998 #984F7D
square
#988E4F #4F9869 #4F5998 #984F7D
split-complementary
#988E4F #4F7D98 #694F98
monochromatic
#474325 #70683A #988E4F #B5AB70 #C9C398

Accessibility & contrast

On white

3.32
#988E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#988E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988E4F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988E4F#FFFFFF#000000##000000
##988E4F1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B4A
Deuteranopia (green-blind)
#9C8F52
Tritanopia (blue-blind)
#A2867F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #988e4f;
/* rgb */ color: rgb(152, 142, 79);
/* oklch */ color: oklch(64.1% 0.085 100.4);
Tailwind
colors: {
  custom: {
    50: '#b8ae82',
    500: '#988e4f',
    950: '#000000',
  },
}
SCSS
$custom: #988e4f;
$custom-light: #b8ae82;
$custom-dark: #000000;
JSON
{
  "hex": "#988e4f",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 51.781,
    "s": 31.602,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64118,
    "c": 0.08462,
    "h": 100.4
  },
  "luminance": 0.26586
}

Semantic roles & 50–950 ramp

primary
#988E4F
secondary
#8D92B6
accent
#6EC860
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100A
muted
#807F7C

Preview Lab

Preview with #988E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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