#998624#998624

#998624 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.115 H 97.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#998624
RGBrgb(153, 134, 36)
HSLhsl(50, 62%, 37%)
HSVhsv(50, 76%, 60%)
CMYKcmyk(0%, 12.4%, 76.5%, 40%)
CIE-LABlab(56.04, -3.60, 51.95)
CIE-LCHlch(56.04, 52.08, 93.97°)
OKLaboklab(61.98% -0.0155 0.1141)
OKLCHoklch(61.98% 0.115 97.7)
XYZxyz(21.9815, 23.9510, 5.1339)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998624 #243799
analogous
#994B24 #998624 #729924
triadic
#998624 #249986 #862499
tetradic
#998624 #24994B #243799 #992472
square
#998624 #24994B #243799 #992472
split-complementary
#998624 #247299 #4B2499
monochromatic
#362F0D #675B18 #998624 #CBB130 #D9C55E

Accessibility & contrast

On white

3.63
#998624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#998624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998624
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998624#FFFFFF#000000##000000
##9986241.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948312
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A57B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998624;
/* rgb */ color: rgb(153, 134, 36);
/* oklch */ color: oklch(62.0% 0.115 97.7);
Tailwind
colors: {
  custom: {
    50: '#bba866',
    500: '#998624',
    950: '#000000',
  },
}
SCSS
$custom: #998624;
$custom-light: #bba866;
$custom-dark: #000000;
JSON
{
  "hex": "#998624",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 50.256,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61983,
    "c": 0.11513,
    "h": 97.7
  },
  "luminance": 0.2395
}

Semantic roles & 50–950 ramp

primary
#998624
secondary
#5B6BBE
accent
#5DE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998624

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

Preview Lab → · Contrast checker → · Palette generator →

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