#998B29#998B29

#998B29 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.116 H 100.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#998B29
RGBrgb(153, 139, 41)
HSLhsl(53, 58%, 38%)
HSVhsv(53, 73%, 60%)
CMYKcmyk(0%, 9.2%, 73.2%, 40%)
CIE-LABlab(57.46, -6.11, 51.40)
CIE-LCHlch(57.46, 51.77, 96.77°)
OKLaboklab(63.12% -0.022 0.1139)
OKLCHoklch(63.12% 0.116 100.9)
XYZxyz(22.7708, 25.3987, 5.8004)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B29 #293799
analogous
#995329 #998B29 #6F9929
triadic
#998B29 #29998B #8B2999
tetradic
#998B29 #299953 #293799 #99296F
square
#998B29 #299953 #293799 #99296F
split-complementary
#998B29 #296F99 #532999
monochromatic
#38330F #695F1C #998B29 #C9B736 #D6C866

Accessibility & contrast

On white

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

On black

6.08
#998B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B29
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B29#FFFFFF#000000##000000
##998B291.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A58178
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #998b29;
/* rgb */ color: rgb(153, 139, 41);
/* oklch */ color: oklch(63.1% 0.116 100.9);
Tailwind
colors: {
  custom: {
    50: '#baac6a',
    500: '#998b29',
    950: '#000000',
  },
}
SCSS
$custom: #998b29;
$custom-light: #baac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#998b29",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 52.5,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63121,
    "c": 0.11603,
    "h": 100.9
  },
  "luminance": 0.25398
}

Semantic roles & 50–950 ramp

primary
#998B29
secondary
#626DBC
accent
#5AE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998B29

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

Preview Lab → · Contrast checker → · Palette generator →

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