#998129#998129

#998129 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.108 H 93.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#998129
RGBrgb(153, 129, 41)
HSLhsl(47, 58%, 38%)
HSVhsv(47, 73%, 60%)
CMYKcmyk(0%, 15.7%, 73.2%, 40%)
CIE-LABlab(54.69, -0.59, 48.68)
CIE-LCHlch(54.69, 48.68, 90.69°)
OKLaboklab(60.93% -0.0063 0.1082)
OKLCHoklch(60.93% 0.108 93.3)
XYZxyz(21.3885, 22.6341, 5.3396)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998129 #294199
analogous
#994929 #998129 #799929
triadic
#998129 #299981 #812999
tetradic
#998129 #299949 #294199 #992979
square
#998129 #299949 #294199 #992979
split-complementary
#998129 #297999 #492999
monochromatic
#38300F #69581C #998129 #C9AA36 #D6BE66

Accessibility & contrast

On white

3.80
#998129 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#998129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998129
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998129#FFFFFF#000000##000000
##9981291.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1C
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#A6766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #998129;
/* rgb */ color: rgb(153, 129, 41);
/* oklch */ color: oklch(60.9% 0.108 93.3);
Tailwind
colors: {
  custom: {
    50: '#bba569',
    500: '#998129',
    950: '#000000',
  },
}
SCSS
$custom: #998129;
$custom-light: #bba569;
$custom-dark: #000000;
JSON
{
  "hex": "#998129",
  "rgb": {
    "r": 153,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 47.143,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.10834,
    "h": 93.3
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

primary
#998129
secondary
#6275BC
accent
#68E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998129

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

Preview Lab → · Contrast checker → · Palette generator →

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