#998D46#998D46

#998D46 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.093 H 99.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#998D46
RGBrgb(153, 141, 70)
HSLhsl(51, 37%, 44%)
HSVhsv(51, 54%, 60%)
CMYKcmyk(0%, 7.8%, 54.2%, 40%)
CIE-LABlab(58.29, -5.20, 39.03)
CIE-LCHlch(58.29, 39.38, 97.59°)
OKLaboklab(63.86% -0.016 0.0919)
OKLCHoklch(63.86% 0.093 99.9)
XYZxyz(23.7680, 26.2651, 9.6109)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D46 #465299
analogous
#996346 #998D46 #7B9946
triadic
#998D46 #46998D #8D4699
tetradic
#998D46 #469963 #465299 #99467B
square
#998D46 #469963 #465299 #99467B
split-complementary
#998D46 #467B99 #634699
monochromatic
#454020 #6F6633 #998D46 #B8AC64 #CBC28E

Accessibility & contrast

On white

3.36
#998D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#998D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D46
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D46#FFFFFF#000000##000000
##998D461.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893F
Deuteranopia (green-blind)
#9C8E49
Tritanopia (blue-blind)
#A3847D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d46;
/* rgb */ color: rgb(153, 141, 70);
/* oklch */ color: oklch(63.9% 0.093 99.9);
Tailwind
colors: {
  custom: {
    50: '#b9ae7b',
    500: '#998d46',
    950: '#000000',
  },
}
SCSS
$custom: #998d46;
$custom-light: #b9ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#998d46",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 51.325,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.63863,
    "c": 0.09326,
    "h": 99.9
  },
  "luminance": 0.26264
}

Semantic roles & 50–950 ramp

primary
#998D46
secondary
#848BB7
accent
#6BCD5B
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #998D46

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

Preview Lab → · Contrast checker → · Palette generator →

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