#998B41#998B41

#998B41 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.096 H 98.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#998B41
RGBrgb(153, 139, 65)
HSLhsl(50, 40%, 43%)
HSVhsv(50, 58%, 60%)
CMYKcmyk(0%, 9.2%, 57.5%, 40%)
CIE-LABlab(57.67, -4.53, 40.83)
CIE-LCHlch(57.67, 41.08, 96.33°)
OKLaboklab(63.36% -0.0147 0.0952)
OKLCHoklch(63.36% 0.096 98.8)
XYZxyz(23.3245, 25.6202, 8.7166)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B41 #414F99
analogous
#995F41 #998B41 #7B9941
triadic
#998B41 #41998B #8B4199
tetradic
#998B41 #41995F #414F99 #99417B
square
#998B41 #41995F #414F99 #99417B
split-complementary
#998B41 #417B99 #5F4199
monochromatic
#433D1D #6E642F #998B41 #BAAB5D #CCC288

Accessibility & contrast

On white

3.43
#998B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#998B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B41
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B41#FFFFFF#000000##000000
##998B411.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883A
Deuteranopia (green-blind)
#9B8D44
Tritanopia (blue-blind)
#A4827A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998b41;
/* rgb */ color: rgb(153, 139, 65);
/* oklch */ color: oklch(63.4% 0.096 98.8);
Tailwind
colors: {
  custom: {
    50: '#b9ac78',
    500: '#998b41',
    950: '#000000',
  },
}
SCSS
$custom: #998b41;
$custom-light: #b9ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#998b41",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 50.455,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.09633,
    "h": 98.8
  },
  "luminance": 0.25619
}

Semantic roles & 50–950 ramp

primary
#998B41
secondary
#7F88B7
accent
#6BD058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #998B41

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

Preview Lab → · Contrast checker → · Palette generator →

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