#989840#989840

#989840 is a light, moderate yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.111 H 109.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#989840
RGBrgb(152, 152, 64)
HSLhsl(60, 41%, 42%)
HSVhsv(60, 58%, 60%)
CMYKcmyk(0%, 0%, 57.9%, 40.4%)
CIE-LABlab(61.22, -12.06, 45.31)
CIE-LCHlch(61.22, 46.89, 104.90°)
OKLaboklab(66.15% -0.0362 0.1047)
OKLCHoklch(66.15% 0.111 109.1)
XYZxyz(25.1032, 29.5027, 9.2217)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989840 #404098
analogous
#986C40 #989840 #6C9840
triadic
#989840 #409898 #984098
tetradic
#989840 #40986C #404098 #98406C
square
#989840 #40986C #404098 #98406C
split-complementary
#989840 #406C98 #6C4098
monochromatic
#42421C #6D6D2E #989840 #BABA5B #CCCC86

Accessibility & contrast

On white

3.04
#989840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#989840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989840
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989840#FFFFFF#000000##000000
##9898401.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39237
Deuteranopia (green-blind)
#A59545
Tritanopia (blue-blind)
#A28F85
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #989840;
/* rgb */ color: rgb(152, 152, 64);
/* oklch */ color: oklch(66.2% 0.111 109.1);
Tailwind
colors: {
  custom: {
    50: '#b9b678',
    500: '#989840',
    950: '#000000',
  },
}
SCSS
$custom: #989840;
$custom-light: #b9b678;
$custom-dark: #000000;
JSON
{
  "hex": "#989840",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66154,
    "c": 0.11082,
    "h": 109.1
  },
  "luminance": 0.29502
}

Semantic roles & 50–950 ramp

primary
#989840
secondary
#7D7DB7
accent
#57D157
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #989840

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

Preview Lab → · Contrast checker → · Palette generator →

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