#998929#998929

#998929 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.114 H 99.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#998929
RGBrgb(153, 137, 41)
HSLhsl(51, 58%, 38%)
HSVhsv(51, 73%, 60%)
CMYKcmyk(0%, 10.5%, 73.2%, 40%)
CIE-LABlab(56.90, -5.01, 50.86)
CIE-LCHlch(56.90, 51.11, 95.63°)
OKLaboklab(62.68% -0.0189 0.1128)
OKLCHoklch(62.68% 0.114 99.5)
XYZxyz(22.4838, 24.8248, 5.7048)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998929 #293999
analogous
#995129 #998929 #719929
triadic
#998929 #299989 #892999
tetradic
#998929 #299951 #293999 #992971
square
#998929 #299951 #293999 #992971
split-complementary
#998929 #297199 #512999
monochromatic
#38330F #695E1C #998929 #C9B436 #D6C666

Accessibility & contrast

On white

3.52
#998929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#998929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998929
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998929#FFFFFF#000000##000000
##9989291.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851A
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#A57F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #998929;
/* rgb */ color: rgb(153, 137, 41);
/* oklch */ color: oklch(62.7% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#baab69',
    500: '#998929',
    950: '#000000',
  },
}
SCSS
$custom: #998929;
$custom-light: #baab69;
$custom-dark: #000000;
JSON
{
  "hex": "#998929",
  "rgb": {
    "r": 153,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 51.429,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.11435,
    "h": 99.5
  },
  "luminance": 0.24824
}

Semantic roles & 50–950 ramp

primary
#998929
secondary
#626FBC
accent
#5DE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998929

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

Preview Lab → · Contrast checker → · Palette generator →

#998929 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva