#998D41#998D41

#998D41 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.098 H 100.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#998D41
RGBrgb(153, 141, 65)
HSLhsl(52, 40%, 43%)
HSVhsv(52, 58%, 60%)
CMYKcmyk(0%, 7.8%, 57.5%, 40%)
CIE-LABlab(58.23, -5.62, 41.47)
CIE-LCHlch(58.23, 41.85, 97.72°)
OKLaboklab(63.8% -0.0178 0.0966)
OKLCHoklch(63.8% 0.098 100.4)
XYZxyz(23.6167, 26.2046, 8.8140)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D41 #414D99
analogous
#996141 #998D41 #799941
triadic
#998D41 #41998D #8D4199
tetradic
#998D41 #419961 #414D99 #994179
square
#998D41 #419961 #414D99 #994179
split-complementary
#998D41 #417999 #614199
monochromatic
#433E1D #6E652F #998D41 #BAAD5D #CCC388

Accessibility & contrast

On white

3.36
#998D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#998D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D41
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D41#FFFFFF#000000##000000
##998D411.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998939
Deuteranopia (green-blind)
#9C8E45
Tritanopia (blue-blind)
#A4847C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d41;
/* rgb */ color: rgb(153, 141, 65);
/* oklch */ color: oklch(63.8% 0.098 100.4);
Tailwind
colors: {
  custom: {
    50: '#b9ae78',
    500: '#998d41',
    950: '#000000',
  },
}
SCSS
$custom: #998d41;
$custom-light: #b9ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#998d41",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 51.818,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63799,
    "c": 0.09822,
    "h": 100.4
  },
  "luminance": 0.26204
}

Semantic roles & 50–950 ramp

primary
#998D41
secondary
#7F86B7
accent
#68D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #998D41

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

Preview Lab → · Contrast checker → · Palette generator →

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