#998F2A#998F2A

#998F2A is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.119 H 103.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#998F2A
RGBrgb(153, 143, 42)
HSLhsl(55, 57%, 38%)
HSVhsv(55, 73%, 60%)
CMYKcmyk(0%, 6.5%, 72.5%, 40%)
CIE-LABlab(58.59, -8.23, 52.11)
CIE-LCHlch(58.59, 52.76, 98.97°)
OKLaboklab(64.02% -0.0279 0.1156)
OKLCHoklch(64.02% 0.119 103.6)
XYZxyz(23.3782, 26.5853, 6.0901)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F2A #2A3499
analogous
#99582A #998F2A #6B992A
triadic
#998F2A #2A998F #8F2A99
tetradic
#998F2A #2A9958 #2A3499 #992A6B
square
#998F2A #2A9958 #2A3499 #992A6B
split-complementary
#998F2A #2A6B99 #582A99
monochromatic
#393510 #69621D #998F2A #C8BB38 #D6CC68

Accessibility & contrast

On white

3.32
#998F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#998F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F2A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F2A#FFFFFF#000000##000000
##998F2A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A19
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#A5857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f2a;
/* rgb */ color: rgb(153, 143, 42);
/* oklch */ color: oklch(64.0% 0.119 103.6);
Tailwind
colors: {
  custom: {
    50: '#baaf6b',
    500: '#998f2a',
    950: '#000000',
  },
}
SCSS
$custom: #998f2a;
$custom-light: #baaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#998f2a",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 54.595,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.11893,
    "h": 103.6
  },
  "luminance": 0.26584
}

Semantic roles & 50–950 ramp

primary
#998F2A
secondary
#636BBC
accent
#55E048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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