#998D2C#998D2C

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

Color values

HEX#998D2C
RGBrgb(153, 141, 44)
HSLhsl(53, 55%, 39%)
HSVhsv(53, 71%, 60%)
CMYKcmyk(0%, 7.8%, 71.2%, 40%)
CIE-LABlab(58.04, -7.04, 50.78)
CIE-LCHlch(58.04, 51.27, 97.89°)
OKLaboklab(63.59% -0.0243 0.1132)
OKLCHoklch(63.59% 0.116 102.1)
XYZxyz(23.1174, 26.0049, 6.1841)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D2C #2C3899
analogous
#99562C #998D2C #6E992C
triadic
#998D2C #2C998D #8D2C99
tetradic
#998D2C #2C9956 #2C3899 #992C6E
square
#998D2C #2C9956 #2C3899 #992C6E
split-complementary
#998D2C #2C6E99 #562C99
monochromatic
#3A3511 #69611E #998D2C #C7B73B #D4C96B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D2C#FFFFFF#000000##000000
##998D2C1.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)
#9A891D
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#A5837A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d2c;
/* rgb */ color: rgb(153, 141, 44);
/* oklch */ color: oklch(63.6% 0.116 102.1);
Tailwind
colors: {
  custom: {
    50: '#baae6b',
    500: '#998d2c',
    950: '#000000',
  },
}
SCSS
$custom: #998d2c;
$custom-light: #baae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#998d2c",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 53.394,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63589,
    "c": 0.11575,
    "h": 102.1
  },
  "luminance": 0.26004
}

Semantic roles & 50–950 ramp

primary
#998D2C
secondary
#666FBB
accent
#5ADF49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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