#998F48#998F48

#998F48 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.3% C 0.093 H 101.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#998F48
RGBrgb(153, 143, 72)
HSLhsl(53, 36%, 44%)
HSVhsv(53, 53%, 60%)
CMYKcmyk(0%, 6.5%, 52.9%, 40%)
CIE-LABlab(58.87, -6.11, 38.70)
CIE-LCHlch(58.87, 39.18, 98.97°)
OKLaboklab(64.33% -0.0184 0.0914)
OKLCHoklch(64.33% 0.093 101.4)
XYZxyz(24.1298, 26.8860, 10.0481)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F48 #485299
analogous
#996748 #998F48 #7B9948
triadic
#998F48 #48998F #8F4899
tetradic
#998F48 #489967 #485299 #99487B
square
#998F48 #489967 #485299 #99487B
split-complementary
#998F48 #487B99 #674899
monochromatic
#464121 #6F6834 #998F48 #B7AD67 #CBC490

Accessibility & contrast

On white

3.29
#998F48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#998F48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F48
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F48#FFFFFF#000000##000000
##998F481.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B42
Deuteranopia (green-blind)
#9D904B
Tritanopia (blue-blind)
#A3867F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f48;
/* rgb */ color: rgb(153, 143, 72);
/* oklch */ color: oklch(64.3% 0.093 101.4);
Tailwind
colors: {
  custom: {
    50: '#b9af7d',
    500: '#998f48',
    950: '#000000',
  },
}
SCSS
$custom: #998f48;
$custom-light: #b9af7d;
$custom-dark: #000000;
JSON
{
  "hex": "#998f48",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 72
  },
  "hsl": {
    "h": 52.593,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.09319,
    "h": 101.4
  },
  "luminance": 0.26885
}

Semantic roles & 50–950 ramp

primary
#998F48
secondary
#868CB7
accent
#6ACC5C
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998F48

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

Preview Lab → · Contrast checker → · Palette generator →

#998F48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva