#998641#998641

#998641 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.092 H 94.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#998641
RGBrgb(153, 134, 65)
HSLhsl(47, 40%, 43%)
HSVhsv(47, 58%, 60%)
CMYKcmyk(0%, 12.4%, 57.5%, 40%)
CIE-LABlab(56.29, -1.77, 39.23)
CIE-LCHlch(56.29, 39.27, 92.58°)
OKLaboklab(62.27% -0.0067 0.0918)
OKLCHoklch(62.27% 0.092 94.2)
XYZxyz(22.6170, 24.2052, 8.4808)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998641 #415499
analogous
#995A41 #998641 #809941
triadic
#998641 #419986 #864199
tetradic
#998641 #41995A #415499 #994180
square
#998641 #41995A #415499 #994180
split-complementary
#998641 #418099 #5A4199
monochromatic
#433B1D #6E602F #998641 #BAA65D #CCBE88

Accessibility & contrast

On white

3.60
#998641 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#998641 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998641
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998641#FFFFFF#000000##000000
##9986411.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843A
Deuteranopia (green-blind)
#978944
Tritanopia (blue-blind)
#A47D76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #998641;
/* rgb */ color: rgb(153, 134, 65);
/* oklch */ color: oklch(62.3% 0.092 94.2);
Tailwind
colors: {
  custom: {
    50: '#b9a978',
    500: '#998641',
    950: '#000000',
  },
}
SCSS
$custom: #998641;
$custom-light: #b9a978;
$custom-dark: #000000;
JSON
{
  "hex": "#998641",
  "rgb": {
    "r": 153,
    "g": 134,
    "b": 65
  },
  "hsl": {
    "h": 47.045,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62265,
    "c": 0.09201,
    "h": 94.2
  },
  "luminance": 0.24204
}

Semantic roles & 50–950 ramp

primary
#998641
secondary
#7F8BB7
accent
#72D058
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F09
muted
#817F7B

Preview Lab

Preview with #998641

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

Preview Lab → · Contrast checker → · Palette generator →

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