#998A29#998A29

#998A29 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.115 H 100.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#998A29
RGBrgb(153, 138, 41)
HSLhsl(52, 58%, 38%)
HSVhsv(52, 73%, 60%)
CMYKcmyk(0%, 9.8%, 73.2%, 40%)
CIE-LABlab(57.18, -5.56, 51.13)
CIE-LCHlch(57.18, 51.43, 96.21°)
OKLaboklab(62.9% -0.0205 0.1133)
OKLCHoklch(62.9% 0.115 100.2)
XYZxyz(22.6266, 25.1104, 5.7524)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998A29 #293899
analogous
#995229 #998A29 #709929
triadic
#998A29 #29998A #8A2999
tetradic
#998A29 #299952 #293899 #992970
square
#998A29 #299952 #293899 #992970
split-complementary
#998A29 #297099 #522999
monochromatic
#38330F #695E1C #998A29 #C9B536 #D6C766

Accessibility & contrast

On white

3.49
#998A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#998A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998A29
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998A29#FFFFFF#000000##000000
##998A291.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A58077
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #998a29;
/* rgb */ color: rgb(153, 138, 41);
/* oklch */ color: oklch(62.9% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#baab6a',
    500: '#998a29',
    950: '#000000',
  },
}
SCSS
$custom: #998a29;
$custom-light: #baab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#998a29",
  "rgb": {
    "r": 153,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 51.964,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.629,
    "c": 0.11518,
    "h": 100.2
  },
  "luminance": 0.25109
}

Semantic roles & 50–950 ramp

primary
#998A29
secondary
#626EBC
accent
#5BE147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998A29

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

Preview Lab → · Contrast checker → · Palette generator →

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