#998D29#998D29

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

Color values

HEX#998D29
RGBrgb(153, 141, 41)
HSLhsl(54, 58%, 38%)
HSVhsv(54, 73%, 60%)
CMYKcmyk(0%, 7.8%, 73.2%, 40%)
CIE-LABlab(58.02, -7.19, 51.95)
CIE-LCHlch(58.02, 52.45, 97.88°)
OKLaboklab(63.57% -0.0251 0.1151)
OKLCHoklch(63.57% 0.118 102.3)
XYZxyz(23.0630, 25.9831, 5.8978)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D29 #293599
analogous
#995529 #998D29 #6D9929
triadic
#998D29 #29998D #8D2999
tetradic
#998D29 #299955 #293599 #99296D
square
#998D29 #299955 #293599 #99296D
split-complementary
#998D29 #296D99 #552999
monochromatic
#38340F #69611C #998D29 #C9B936 #D6CA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D29#FFFFFF#000000##000000
##998D291.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)
#9A8818
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#A58379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998d29;
/* rgb */ color: rgb(153, 141, 41);
/* oklch */ color: oklch(63.6% 0.118 102.3);
Tailwind
colors: {
  custom: {
    50: '#baae6a',
    500: '#998d29',
    950: '#000000',
  },
}
SCSS
$custom: #998d29;
$custom-light: #baae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#998d29",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 53.571,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63566,
    "c": 0.11779,
    "h": 102.3
  },
  "luminance": 0.25982
}

Semantic roles & 50–950 ramp

primary
#998D29
secondary
#626BBC
accent
#57E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998D29

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

Preview Lab → · Contrast checker → · Palette generator →

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