#998724#998724

#998724 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.116 H 98.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#998724
RGBrgb(153, 135, 36)
HSLhsl(51, 62%, 37%)
HSVhsv(51, 76%, 60%)
CMYKcmyk(0%, 11.8%, 76.5%, 40%)
CIE-LABlab(56.32, -4.15, 52.21)
CIE-LCHlch(56.32, 52.38, 94.55°)
OKLaboklab(62.2% -0.017 0.1147)
OKLCHoklch(62.2% 0.116 98.4)
XYZxyz(22.1204, 24.2287, 5.1802)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998724 #243699
analogous
#994C24 #998724 #719924
triadic
#998724 #249987 #872499
tetradic
#998724 #24994C #243699 #992471
square
#998724 #24994C #243699 #992471
split-complementary
#998724 #247199 #4C2499
monochromatic
#36300D #675B18 #998724 #CBB330 #D9C65E

Accessibility & contrast

On white

3.59
#998724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#998724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998724
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998724#FFFFFF#000000##000000
##9987241.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958311
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#A57C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998724;
/* rgb */ color: rgb(153, 135, 36);
/* oklch */ color: oklch(62.2% 0.116 98.4);
Tailwind
colors: {
  custom: {
    50: '#bba967',
    500: '#998724',
    950: '#000000',
  },
}
SCSS
$custom: #998724;
$custom-light: #bba967;
$custom-dark: #000000;
JSON
{
  "hex": "#998724",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 50.769,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62202,
    "c": 0.11591,
    "h": 98.4
  },
  "luminance": 0.24228
}

Semantic roles & 50–950 ramp

primary
#998724
secondary
#5B6ABE
accent
#5CE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998724

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

Preview Lab → · Contrast checker → · Palette generator →

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