#998628#998628

#998628 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.113 H 97.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#998628
RGBrgb(153, 134, 40)
HSLhsl(50, 59%, 38%)
HSVhsv(50, 74%, 60%)
CMYKcmyk(0%, 12.4%, 73.9%, 40%)
CIE-LABlab(56.06, -3.41, 50.44)
CIE-LCHlch(56.06, 50.55, 93.87°)
OKLaboklab(62.01% -0.0145 0.1117)
OKLCHoklch(62.01% 0.113 97.4)
XYZxyz(22.0461, 23.9768, 5.4738)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998628 #283B99
analogous
#994E28 #998628 #739928
triadic
#998628 #289986 #862899
tetradic
#998628 #28994E #283B99 #992873
square
#998628 #28994E #283B99 #992873
split-complementary
#998628 #287399 #4E2899
monochromatic
#38310F #685C1B #998628 #CAB035 #D7C465

Accessibility & contrast

On white

3.62
#998628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#998628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998628
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998628#FFFFFF#000000##000000
##9986281.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#A57C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998628;
/* rgb */ color: rgb(153, 134, 40);
/* oklch */ color: oklch(62.0% 0.113 97.4);
Tailwind
colors: {
  custom: {
    50: '#bba869',
    500: '#998628',
    950: '#000000',
  },
}
SCSS
$custom: #998628;
$custom-light: #bba869;
$custom-dark: #000000;
JSON
{
  "hex": "#998628",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 49.912,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.11262,
    "h": 97.4
  },
  "luminance": 0.23976
}

Semantic roles & 50–950 ramp

primary
#998628
secondary
#6070BD
accent
#60E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998628

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

Preview Lab → · Contrast checker → · Palette generator →

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