#989142#989142

#989142 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.101 H 104.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#989142
RGBrgb(152, 145, 66)
HSLhsl(55, 39%, 43%)
HSVhsv(55, 57%, 60%)
CMYKcmyk(0%, 4.6%, 56.6%, 40.4%)
CIE-LABlab(59.27, -8.15, 42.14)
CIE-LCHlch(59.27, 42.92, 100.95°)
OKLaboklab(64.61% -0.0249 0.0982)
OKLCHoklch(64.61% 0.101 104.2)
XYZxyz(24.0584, 27.3203, 9.1593)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989142 #424998
analogous
#986642 #989142 #749842
triadic
#989142 #429891 #914298
tetradic
#989142 #429866 #424998 #984274
square
#989142 #429866 #424998 #984274
split-complementary
#989142 #427498 #664298
monochromatic
#43401D #6D682F #989142 #B9B25E #CCC689

Accessibility & contrast

On white

3.25
#989142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#989142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989142
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989142#FFFFFF#000000##000000
##9891421.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#9F9046
Tritanopia (blue-blind)
#A2887F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #989142;
/* rgb */ color: rgb(152, 145, 66);
/* oklch */ color: oklch(64.6% 0.101 104.2);
Tailwind
colors: {
  custom: {
    50: '#b8b179',
    500: '#989142',
    950: '#000000',
  },
}
SCSS
$custom: #989142;
$custom-light: #b8b179;
$custom-dark: #000000;
JSON
{
  "hex": "#989142",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 55.116,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64606,
    "c": 0.10128,
    "h": 104.2
  },
  "luminance": 0.2732
}

Semantic roles & 50–950 ramp

primary
#989142
secondary
#7F84B7
accent
#62CF58
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #989142

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

Preview Lab → · Contrast checker → · Palette generator →

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