#988948#988948

#988948 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.087 H 96.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#988948
RGBrgb(152, 137, 72)
HSLhsl(49, 36%, 44%)
HSVhsv(49, 53%, 60%)
CMYKcmyk(0%, 9.9%, 52.6%, 40.4%)
CIE-LABlab(57.11, -3.26, 36.58)
CIE-LCHlch(57.11, 36.73, 95.09°)
OKLaboklab(62.92% -0.0101 0.0867)
OKLCHoklch(62.92% 0.087 96.6)
XYZxyz(23.0650, 25.0355, 9.7470)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988948 #485798
analogous
#986148 #988948 #7F9848
triadic
#988948 #489889 #894898
tetradic
#988948 #489861 #485798 #98487F
square
#988948 #489861 #485798 #98487F
split-complementary
#988948 #487F98 #614898
monochromatic
#453E21 #6E6434 #988948 #B7A866 #CABF90

Accessibility & contrast

On white

3.50
#988948 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#988948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##988948#FFFFFF#000000##000000
##9889481.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)
#948642
Deuteranopia (green-blind)
#988B4B
Tritanopia (blue-blind)
#A2817A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #988948;
/* rgb */ color: rgb(152, 137, 72);
/* oklch */ color: oklch(62.9% 0.087 96.6);
Tailwind
colors: {
  custom: {
    50: '#b8ab7d',
    500: '#988948',
    950: '#000000',
  },
}
SCSS
$custom: #988948;
$custom-light: #b8ab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#988948",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 72
  },
  "hsl": {
    "h": 48.75,
    "s": 35.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.62916,
    "c": 0.08733,
    "h": 96.6
  },
  "luminance": 0.25035
}

Semantic roles & 50–950 ramp

primary
#988948
secondary
#868FB6
accent
#71CC5C
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #988948

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

Preview Lab → · Contrast checker → · Palette generator →

#988948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva