#998B2C#998B2C

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

Color values

HEX#998B2C
RGBrgb(153, 139, 44)
HSLhsl(52, 55%, 39%)
HSVhsv(52, 71%, 60%)
CMYKcmyk(0%, 9.2%, 71.2%, 40%)
CIE-LABlab(57.48, -5.95, 50.22)
CIE-LCHlch(57.48, 50.57, 96.76°)
OKLaboklab(63.15% -0.0213 0.112)
OKLCHoklch(63.15% 0.114 100.7)
XYZxyz(22.8251, 25.4204, 6.0867)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B2C #2C3A99
analogous
#99542C #998B2C #70992C
triadic
#998B2C #2C998B #8B2C99
tetradic
#998B2C #2C9954 #2C3A99 #992C70
square
#998B2C #2C9954 #2C3A99 #992C70
split-complementary
#998B2C #2C7099 #542C99
monochromatic
#3A3511 #69601E #998B2C #C7B53B #D4C76B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998B2C#FFFFFF#000000##000000
##998B2C1.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)
#98871E
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#A58178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b2c;
/* rgb */ color: rgb(153, 139, 44);
/* oklch */ color: oklch(63.1% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#baac6b',
    500: '#998b2c',
    950: '#000000',
  },
}
SCSS
$custom: #998b2c;
$custom-light: #baac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#998b2c",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 52.294,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63145,
    "c": 0.11399,
    "h": 100.7
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#998B2C
secondary
#6671BB
accent
#5CDF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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