#998D2B#998D2B

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

Color values

HEX#998D2B
RGBrgb(153, 141, 43)
HSLhsl(53, 56%, 38%)
HSVhsv(53, 72%, 60%)
CMYKcmyk(0%, 7.8%, 71.9%, 40%)
CIE-LABlab(58.03, -7.09, 51.18)
CIE-LCHlch(58.03, 51.66, 97.89°)
OKLaboklab(63.58% -0.0246 0.1138)
OKLCHoklch(63.58% 0.116 102.2)
XYZxyz(23.0988, 25.9975, 6.0863)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D2B #2B3799
analogous
#99562B #998D2B #6E992B
triadic
#998D2B #2B998D #8D2B99
tetradic
#998D2B #2B9956 #2B3799 #992B6E
square
#998D2B #2B9956 #2B3799 #992B6E
split-complementary
#998D2B #2B6E99 #562B99
monochromatic
#393510 #69611E #998D2B #C8B83A #D5C969

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D2B#FFFFFF#000000##000000
##998D2B1.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)
#9A891C
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d2b;
/* rgb */ color: rgb(153, 141, 43);
/* oklch */ color: oklch(63.6% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#baae6b',
    500: '#998d2b',
    950: '#000000',
  },
}
SCSS
$custom: #998d2b;
$custom-light: #baae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#998d2b",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 53.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63581,
    "c": 0.11644,
    "h": 102.2
  },
  "luminance": 0.25996
}

Semantic roles & 50–950 ramp

primary
#998D2B
secondary
#646EBC
accent
#59DF48
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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