#998728#998728

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

Color values

HEX#998728
RGBrgb(153, 135, 40)
HSLhsl(50, 59%, 38%)
HSVhsv(50, 74%, 60%)
CMYKcmyk(0%, 11.8%, 73.9%, 40%)
CIE-LABlab(56.34, -3.97, 50.71)
CIE-LCHlch(56.34, 50.86, 94.47°)
OKLaboklab(62.23% -0.0161 0.1123)
OKLCHoklch(62.23% 0.113 98.1)
XYZxyz(22.1849, 24.2546, 5.5201)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998728 #283A99
analogous
#994E28 #998728 #739928
triadic
#998728 #289987 #872899
tetradic
#998728 #28994E #283A99 #992873
square
#998728 #28994E #283A99 #992873
split-complementary
#998728 #287399 #4E2899
monochromatic
#38310F #685C1B #998728 #CAB235 #D7C565

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998728#FFFFFF#000000##000000
##9987281.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)
#958419
Deuteranopia (green-blind)
#998A2E
Tritanopia (blue-blind)
#A57D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998728;
/* rgb */ color: rgb(153, 135, 40);
/* oklch */ color: oklch(62.2% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#bba969',
    500: '#998728',
    950: '#000000',
  },
}
SCSS
$custom: #998728;
$custom-light: #bba969;
$custom-dark: #000000;
JSON
{
  "hex": "#998728",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 50.442,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62231,
    "c": 0.11339,
    "h": 98.1
  },
  "luminance": 0.24253
}

Semantic roles & 50–950 ramp

primary
#998728
secondary
#606FBD
accent
#5FE246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998728

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

Preview Lab → · Contrast checker → · Palette generator →

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