#998928#998928

#998928 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.115 H 99.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#998928
RGBrgb(153, 137, 40)
HSLhsl(52, 59%, 38%)
HSVhsv(52, 74%, 60%)
CMYKcmyk(0%, 10.5%, 73.9%, 40%)
CIE-LABlab(56.90, -5.06, 51.25)
CIE-LCHlch(56.90, 51.50, 95.64°)
OKLaboklab(62.67% -0.0192 0.1134)
OKLCHoklch(62.67% 0.115 99.6)
XYZxyz(22.4666, 24.8179, 5.6140)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998928 #283899
analogous
#995028 #998928 #719928
triadic
#998928 #289989 #892899
tetradic
#998928 #289950 #283899 #992871
square
#998928 #289950 #283899 #992871
split-complementary
#998928 #287199 #502899
monochromatic
#38320F #685E1B #998928 #CAB435 #D7C765

Accessibility & contrast

On white

3.52
#998928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#998928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998928
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998928#FFFFFF#000000##000000
##9989281.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978518
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#A57F76
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #998928;
/* rgb */ color: rgb(153, 137, 40);
/* oklch */ color: oklch(62.7% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#baab69',
    500: '#998928',
    950: '#000000',
  },
}
SCSS
$custom: #998928;
$custom-light: #baab69;
$custom-dark: #000000;
JSON
{
  "hex": "#998928",
  "rgb": {
    "r": 153,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 51.504,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62672,
    "c": 0.115,
    "h": 99.6
  },
  "luminance": 0.24817
}

Semantic roles & 50–950 ramp

primary
#998928
secondary
#606DBD
accent
#5CE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #998928

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

Preview Lab → · Contrast checker → · Palette generator →

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