#998D2D#998D2D

#998D2D is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.115 H 102.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#998D2D
RGBrgb(153, 141, 45)
HSLhsl(53, 55%, 39%)
HSVhsv(53, 71%, 60%)
CMYKcmyk(0%, 7.8%, 70.6%, 40%)
CIE-LABlab(58.05, -6.98, 50.38)
CIE-LCHlch(58.05, 50.86, 97.89°)
OKLaboklab(63.6% -0.0241 0.1125)
OKLCHoklch(63.6% 0.115 102.1)
XYZxyz(23.1364, 26.0125, 6.2843)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D2D #2D3999
analogous
#99572D #998D2D #6F992D
triadic
#998D2D #2D998D #8D2D99
tetradic
#998D2D #2D9957 #2D3999 #992D6F
square
#998D2D #2D9957 #2D3999 #992D6F
split-complementary
#998D2D #2D6F99 #572D99
monochromatic
#3A3611 #6A611F #998D2D #C6B73D #D4C86C

Accessibility & contrast

On white

3.39
#998D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#998D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D2D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D2D#FFFFFF#000000##000000
##998D2D1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891F
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d2d;
/* rgb */ color: rgb(153, 141, 45);
/* oklch */ color: oklch(63.6% 0.115 102.1);
Tailwind
colors: {
  custom: {
    50: '#baae6c',
    500: '#998d2d',
    950: '#000000',
  },
}
SCSS
$custom: #998d2d;
$custom-light: #baae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#998d2d",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 53.333,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63597,
    "c": 0.11505,
    "h": 102.1
  },
  "luminance": 0.26012
}

Semantic roles & 50–950 ramp

primary
#998D2D
secondary
#6770BB
accent
#5ADE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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