#998F49#998F49

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

Color values

HEX#998F49
RGBrgb(153, 143, 73)
HSLhsl(53, 35%, 44%)
HSVhsv(53, 52%, 60%)
CMYKcmyk(0%, 6.5%, 52.3%, 40%)
CIE-LABlab(58.88, -6.02, 38.21)
CIE-LCHlch(58.88, 38.68, 98.95°)
OKLaboklab(64.35% -0.018 0.0904)
OKLCHoklch(64.35% 0.092 101.3)
XYZxyz(24.1627, 26.8991, 10.2213)
Luminance0.2690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F49 #495399
analogous
#996749 #998F49 #7B9949
triadic
#998F49 #49998F #8F4999
tetradic
#998F49 #499967 #495399 #99497B
square
#998F49 #499967 #495399 #99497B
split-complementary
#998F49 #497B99 #674999
monochromatic
#464221 #706835 #998F49 #B7AD68 #CBC492

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F49#FFFFFF#000000##000000
##998F491.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)
#9A8B43
Deuteranopia (green-blind)
#9D904C
Tritanopia (blue-blind)
#A3877F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f49;
/* rgb */ color: rgb(153, 143, 73);
/* oklch */ color: oklch(64.3% 0.092 101.3);
Tailwind
colors: {
  custom: {
    50: '#b9af7e',
    500: '#998f49',
    950: '#000000',
  },
}
SCSS
$custom: #998f49;
$custom-light: #b9af7e;
$custom-dark: #000000;
JSON
{
  "hex": "#998f49",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 73
  },
  "hsl": {
    "h": 52.5,
    "s": 35.398,
    "l": 44.314
  },
  "oklch": {
    "l": 0.64345,
    "c": 0.09216,
    "h": 101.3
  },
  "luminance": 0.26898
}

Semantic roles & 50–950 ramp

primary
#998F49
secondary
#878DB7
accent
#6ACB5C
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998F49

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

Preview Lab → · Contrast checker → · Palette generator →

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