#998F41#998F41

#998F41 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.100 H 102.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#998F41
RGBrgb(153, 143, 65)
HSLhsl(53, 40%, 43%)
HSVhsv(53, 58%, 60%)
CMYKcmyk(0%, 6.5%, 57.5%, 40%)
CIE-LABlab(58.79, -6.71, 42.11)
CIE-LCHlch(58.79, 42.64, 99.06°)
OKLaboklab(64.24% -0.0209 0.098)
OKLCHoklch(64.24% 0.1 102.1)
XYZxyz(23.9143, 26.7998, 8.9132)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F41 #414B99
analogous
#996341 #998F41 #779941
triadic
#998F41 #41998F #8F4199
tetradic
#998F41 #419963 #414B99 #994177
square
#998F41 #419963 #414B99 #994177
split-complementary
#998F41 #417799 #634199
monochromatic
#433F1D #6E672F #998F41 #BAB05D #CCC588

Accessibility & contrast

On white

3.30
#998F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#998F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F41
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F41#FFFFFF#000000##000000
##998F411.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B39
Deuteranopia (green-blind)
#9E8F45
Tritanopia (blue-blind)
#A4867E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998f41;
/* rgb */ color: rgb(153, 143, 65);
/* oklch */ color: oklch(64.2% 0.100 102.1);
Tailwind
colors: {
  custom: {
    50: '#b9af78',
    500: '#998f41',
    950: '#000000',
  },
}
SCSS
$custom: #998f41;
$custom-light: #b9af78;
$custom-dark: #000000;
JSON
{
  "hex": "#998f41",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 65
  },
  "hsl": {
    "h": 53.182,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64242,
    "c": 0.10017,
    "h": 102.1
  },
  "luminance": 0.26799
}

Semantic roles & 50–950 ramp

primary
#998F41
secondary
#7F85B7
accent
#65D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #998F41

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

Preview Lab → · Contrast checker → · Palette generator →

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