#998732#998732

#998732 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.3% C 0.106 H 97.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#998732
RGBrgb(153, 135, 50)
HSLhsl(50, 51%, 40%)
HSVhsv(50, 67%, 60%)
CMYKcmyk(0%, 11.8%, 67.3%, 40%)
CIE-LABlab(56.42, -3.41, 46.55)
CIE-LCHlch(56.42, 46.68, 94.18°)
OKLaboklab(62.32% -0.0133 0.1053)
OKLCHoklch(62.32% 0.106 97.2)
XYZxyz(22.3776, 24.3316, 6.5348)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998732 #324499
analogous
#995432 #998732 #779932
triadic
#998732 #329987 #873299
tetradic
#998732 #329954 #324499 #993277
square
#998732 #329954 #324499 #993277
split-complementary
#998732 #327799 #543299
monochromatic
#3D3614 #6B5E23 #998732 #C2AD46 #D2C174

Accessibility & contrast

On white

3.58
#998732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#998732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998732
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998732#FFFFFF#000000##000000
##9987321.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948427
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#A57D75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998732;
/* rgb */ color: rgb(153, 135, 50);
/* oklch */ color: oklch(62.3% 0.106 97.2);
Tailwind
colors: {
  custom: {
    50: '#baa96e',
    500: '#998732',
    950: '#000000',
  },
}
SCSS
$custom: #998732;
$custom-light: #baa96e;
$custom-dark: #000000;
JSON
{
  "hex": "#998732",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 49.515,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62316,
    "c": 0.10613,
    "h": 97.2
  },
  "luminance": 0.24331
}

Semantic roles & 50–950 ramp

primary
#998732
secondary
#6D7BBA
accent
#66DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #998732

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

Preview Lab → · Contrast checker → · Palette generator →

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