#998B2D#998B2D

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

Color values

HEX#998B2D
RGBrgb(153, 139, 45)
HSLhsl(52, 55%, 39%)
HSVhsv(52, 71%, 60%)
CMYKcmyk(0%, 9.2%, 70.6%, 40%)
CIE-LABlab(57.49, -5.89, 49.82)
CIE-LCHlch(57.49, 50.16, 96.75°)
OKLaboklab(63.15% -0.021 0.1113)
OKLCHoklch(63.15% 0.113 100.7)
XYZxyz(22.8442, 25.4280, 6.1869)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B2D #2D3B99
analogous
#99552D #998B2D #71992D
triadic
#998B2D #2D998B #8B2D99
tetradic
#998B2D #2D9955 #2D3B99 #992D71
square
#998B2D #2D9955 #2D3B99 #992D71
split-complementary
#998B2D #2D7199 #552D99
monochromatic
#3A3511 #6A601F #998B2D #C6B43D #D4C76C

Accessibility & contrast

On white

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

On black

6.09
#998B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B2D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B2D#FFFFFF#000000##000000
##998B2D1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871F
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#A58178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b2d;
/* rgb */ color: rgb(153, 139, 45);
/* oklch */ color: oklch(63.2% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#baac6c',
    500: '#998b2d',
    950: '#000000',
  },
}
SCSS
$custom: #998b2d;
$custom-light: #baac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#998b2d",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 52.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63153,
    "c": 0.11327,
    "h": 100.7
  },
  "luminance": 0.25427
}

Semantic roles & 50–950 ramp

primary
#998B2D
secondary
#6772BB
accent
#5DDE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #998B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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