#998529#998529

#998529 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.111 H 96.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#998529
RGBrgb(153, 133, 41)
HSLhsl(49, 58%, 38%)
HSVhsv(49, 73%, 60%)
CMYKcmyk(0%, 13.1%, 73.2%, 40%)
CIE-LABlab(55.79, -2.81, 49.77)
CIE-LCHlch(55.79, 49.85, 93.23°)
OKLaboklab(61.8% -0.0127 0.1105)
OKLCHoklch(61.8% 0.111 96.5)
XYZxyz(21.9257, 23.7086, 5.5187)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998529 #293D99
analogous
#994D29 #998529 #759929
triadic
#998529 #299985 #852999
tetradic
#998529 #29994D #293D99 #992975
square
#998529 #29994D #293D99 #992975
split-complementary
#998529 #297599 #4D2999
monochromatic
#38310F #695B1C #998529 #C9AF36 #D6C266

Accessibility & contrast

On white

3.66
#998529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#998529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998529
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998529#FFFFFF#000000##000000
##9985291.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#A57B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998529;
/* rgb */ color: rgb(153, 133, 41);
/* oklch */ color: oklch(61.8% 0.111 96.5);
Tailwind
colors: {
  custom: {
    50: '#baa869',
    500: '#998529',
    950: '#000000',
  },
}
SCSS
$custom: #998529;
$custom-light: #baa869;
$custom-dark: #000000;
JSON
{
  "hex": "#998529",
  "rgb": {
    "r": 153,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 49.286,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.618,
    "c": 0.11118,
    "h": 96.5
  },
  "luminance": 0.23707
}

Semantic roles & 50–950 ramp

primary
#998529
secondary
#6272BC
accent
#62E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998529

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

Preview Lab → · Contrast checker → · Palette generator →

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