#998B2B#998B2B

#998B2B is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.115 H 100.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#998B2B
RGBrgb(153, 139, 43)
HSLhsl(52, 56%, 38%)
HSVhsv(52, 72%, 60%)
CMYKcmyk(0%, 9.2%, 71.9%, 40%)
CIE-LABlab(57.48, -6.00, 50.62)
CIE-LCHlch(57.48, 50.98, 96.76°)
OKLaboklab(63.14% -0.0215 0.1126)
OKLCHoklch(63.14% 0.115 100.8)
XYZxyz(22.8066, 25.4130, 5.9889)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B2B #2B3999
analogous
#99542B #998B2B #70992B
triadic
#998B2B #2B998B #8B2B99
tetradic
#998B2B #2B9954 #2B3999 #992B70
square
#998B2B #2B9954 #2B3999 #992B70
split-complementary
#998B2B #2B7099 #542B99
monochromatic
#393410 #69601E #998B2B #C8B53A #D5C769

Accessibility & contrast

On white

3.45
#998B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#998B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B2B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B2B#FFFFFF#000000##000000
##998B2B1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871C
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#A58178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b2b;
/* rgb */ color: rgb(153, 139, 43);
/* oklch */ color: oklch(63.1% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#baac6b',
    500: '#998b2b',
    950: '#000000',
  },
}
SCSS
$custom: #998b2b;
$custom-light: #baac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#998b2b",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 52.364,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63137,
    "c": 0.11468,
    "h": 100.8
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#998B2B
secondary
#646FBC
accent
#5CDF48
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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