#998528#998528

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

Color values

HEX#998528
RGBrgb(153, 133, 40)
HSLhsl(49, 59%, 38%)
HSVhsv(49, 74%, 60%)
CMYKcmyk(0%, 13.1%, 73.9%, 40%)
CIE-LABlab(55.79, -2.86, 50.16)
CIE-LCHlch(55.79, 50.25, 93.26°)
OKLaboklab(61.79% -0.0129 0.1111)
OKLCHoklch(61.79% 0.112 96.6)
XYZxyz(21.9085, 23.7017, 5.4280)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998528 #283C99
analogous
#994D28 #998528 #749928
triadic
#998528 #289985 #852899
tetradic
#998528 #28994D #283C99 #992874
square
#998528 #28994D #283C99 #992874
split-complementary
#998528 #287499 #4D2899
monochromatic
#38310F #685B1B #998528 #CAAF35 #D7C365

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998528#FFFFFF#000000##000000
##9985281.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)
#938219
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#A57B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998528;
/* rgb */ color: rgb(153, 133, 40);
/* oklch */ color: oklch(61.8% 0.112 96.6);
Tailwind
colors: {
  custom: {
    50: '#bba868',
    500: '#998528',
    950: '#000000',
  },
}
SCSS
$custom: #998528;
$custom-light: #bba868;
$custom-dark: #000000;
JSON
{
  "hex": "#998528",
  "rgb": {
    "r": 153,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 49.381,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.11185,
    "h": 96.6
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#998528
secondary
#6071BD
accent
#62E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #998528

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

Preview Lab → · Contrast checker → · Palette generator →

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