#998A2A#998A2A

#998A2A is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.115 H 100.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#998A2A
RGBrgb(153, 138, 42)
HSLhsl(52, 57%, 38%)
HSVhsv(52, 73%, 60%)
CMYKcmyk(0%, 9.8%, 72.5%, 40%)
CIE-LABlab(57.19, -5.51, 50.74)
CIE-LCHlch(57.19, 51.04, 96.20°)
OKLaboklab(62.91% -0.0202 0.1127)
OKLCHoklch(62.91% 0.115 100.2)
XYZxyz(22.6443, 25.1175, 5.8454)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998A2A #2A3999
analogous
#99522A #998A2A #70992A
triadic
#998A2A #2A998A #8A2A99
tetradic
#998A2A #2A9952 #2A3999 #992A70
square
#998A2A #2A9952 #2A3999 #992A70
split-complementary
#998A2A #2A7099 #522A99
monochromatic
#393310 #695F1D #998A2A #C8B538 #D6C768

Accessibility & contrast

On white

3.49
#998A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#998A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998A2A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998A2A#FFFFFF#000000##000000
##998A2A1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861B
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#A58077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #998a2a;
/* rgb */ color: rgb(153, 138, 42);
/* oklch */ color: oklch(62.9% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#baab6a',
    500: '#998a2a',
    950: '#000000',
  },
}
SCSS
$custom: #998a2a;
$custom-light: #baab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#998a2a",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 51.892,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62908,
    "c": 0.11451,
    "h": 100.2
  },
  "luminance": 0.25116
}

Semantic roles & 50–950 ramp

primary
#998A2A
secondary
#636FBC
accent
#5CE048
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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