#998C2C#998C2C

#998C2C is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.115 H 101.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#998C2C
RGBrgb(153, 140, 44)
HSLhsl(53, 55%, 39%)
HSVhsv(53, 71%, 60%)
CMYKcmyk(0%, 8.5%, 71.2%, 40%)
CIE-LABlab(57.76, -6.49, 50.50)
CIE-LCHlch(57.76, 50.92, 97.33°)
OKLaboklab(63.37% -0.0228 0.1126)
OKLCHoklch(63.37% 0.115 101.4)
XYZxyz(22.9706, 25.7113, 6.1352)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998C2C #2C3999
analogous
#99552C #998C2C #6F992C
triadic
#998C2C #2C998C #8C2C99
tetradic
#998C2C #2C9955 #2C3999 #992C6F
square
#998C2C #2C9955 #2C3999 #992C6F
split-complementary
#998C2C #2C6F99 #552C99
monochromatic
#3A3511 #69611E #998C2C #C7B63B #D4C86B

Accessibility & contrast

On white

3.42
#998C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#998C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998C2C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998C2C#FFFFFF#000000##000000
##998C2C1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881E
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#A58279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998c2c;
/* rgb */ color: rgb(153, 140, 44);
/* oklch */ color: oklch(63.4% 0.115 101.4);
Tailwind
colors: {
  custom: {
    50: '#baad6b',
    500: '#998c2c',
    950: '#000000',
  },
}
SCSS
$custom: #998c2c;
$custom-light: #baad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#998c2c",
  "rgb": {
    "r": 153,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 52.844,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63367,
    "c": 0.11487,
    "h": 101.4
  },
  "luminance": 0.2571
}

Semantic roles & 50–950 ramp

primary
#998C2C
secondary
#6670BB
accent
#5BDF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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