#998D2A#998D2A

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

Color values

HEX#998D2A
RGBrgb(153, 141, 42)
HSLhsl(54, 57%, 38%)
HSVhsv(54, 73%, 60%)
CMYKcmyk(0%, 7.8%, 72.5%, 40%)
CIE-LABlab(58.03, -7.14, 51.57)
CIE-LCHlch(58.03, 52.06, 97.89°)
OKLaboklab(63.57% -0.0249 0.1145)
OKLCHoklch(63.57% 0.117 102.3)
XYZxyz(23.0807, 25.9902, 5.9909)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D2A #2A3699
analogous
#99562A #998D2A #6D992A
triadic
#998D2A #2A998D #8D2A99
tetradic
#998D2A #2A9956 #2A3699 #992A6D
square
#998D2A #2A9956 #2A3699 #992A6D
split-complementary
#998D2A #2A6D99 #562A99
monochromatic
#393410 #69611D #998D2A #C8B938 #D6CA68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D2A#FFFFFF#000000##000000
##998D2A1.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)
#9A891A
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d2a;
/* rgb */ color: rgb(153, 141, 42);
/* oklch */ color: oklch(63.6% 0.117 102.3);
Tailwind
colors: {
  custom: {
    50: '#baae6a',
    500: '#998d2a',
    950: '#000000',
  },
}
SCSS
$custom: #998d2a;
$custom-light: #baae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#998d2a",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 53.514,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63573,
    "c": 0.11712,
    "h": 102.3
  },
  "luminance": 0.25989
}

Semantic roles & 50–950 ramp

primary
#998D2A
secondary
#636DBC
accent
#58E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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