#989342#989342

#989342 is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.103 H 105.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#989342
RGBrgb(152, 147, 66)
HSLhsl(57, 39%, 43%)
HSVhsv(57, 57%, 60%)
CMYKcmyk(0%, 3.3%, 56.6%, 40.4%)
CIE-LABlab(59.83, -9.23, 42.79)
CIE-LCHlch(59.83, 43.77, 102.17°)
OKLaboklab(65.05% -0.0279 0.0996)
OKLCHoklch(65.05% 0.103 105.7)
XYZxyz(24.3667, 27.9369, 9.2620)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989342 #424798
analogous
#986842 #989342 #729842
triadic
#989342 #429893 #934298
tetradic
#989342 #429868 #424798 #984272
square
#989342 #429868 #424798 #984272
split-complementary
#989342 #427298 #684298
monochromatic
#43401D #6D6A2F #989342 #B9B45E #CCC889

Accessibility & contrast

On white

3.19
#989342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#989342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989342
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989342#FFFFFF#000000##000000
##9893421.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8E3A
Deuteranopia (green-blind)
#A19246
Tritanopia (blue-blind)
#A28A81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #989342;
/* rgb */ color: rgb(152, 147, 66);
/* oklch */ color: oklch(65.1% 0.103 105.7);
Tailwind
colors: {
  custom: {
    50: '#b8b279',
    500: '#989342',
    950: '#000000',
  },
}
SCSS
$custom: #989342;
$custom-light: #b8b279;
$custom-dark: #000000;
JSON
{
  "hex": "#989342",
  "rgb": {
    "r": 152,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 56.512,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65053,
    "c": 0.10341,
    "h": 105.7
  },
  "luminance": 0.27936
}

Semantic roles & 50–950 ramp

primary
#989342
secondary
#7F82B7
accent
#5FCF58
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #989342

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

Preview Lab → · Contrast checker → · Palette generator →

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