#989A42#989A42

#989A42 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.111 H 110.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#989A42
RGBrgb(152, 154, 66)
HSLhsl(61, 40%, 43%)
HSVhsv(61, 57%, 60%)
CMYKcmyk(1.3%, 0%, 57.1%, 39.6%)
CIE-LABlab(61.81, -12.95, 45.03)
CIE-LCHlch(61.81, 46.85, 106.05°)
OKLaboklab(66.63% -0.0385 0.1044)
OKLCHoklch(66.63% 0.111 110.3)
XYZxyz(25.4885, 30.1806, 9.6360)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A42 #44429A
analogous
#9A7042 #989A42 #6C9A42
triadic
#989A42 #42989A #9A4298
tetradic
#989A42 #429A70 #44429A #9A426C
square
#989A42 #429A70 #44429A #9A426C
split-complementary
#989A42 #426C9A #70429A
monochromatic
#43441D #6E6F30 #989A42 #B8BA5F #CBCD8A

Accessibility & contrast

On white

2.98
#989A42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#989A42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989A42
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A42#FFFFFF#000000##000000
##989A421.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59439
Deuteranopia (green-blind)
#A69747
Tritanopia (blue-blind)
#A29187
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a42;
/* rgb */ color: rgb(152, 154, 66);
/* oklch */ color: oklch(66.6% 0.111 110.3);
Tailwind
colors: {
  custom: {
    50: '#b8b77a',
    500: '#989a42',
    950: '#000000',
  },
}
SCSS
$custom: #989a42;
$custom-light: #b8b77a;
$custom-dark: #000000;
JSON
{
  "hex": "#989a42",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 61.364,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66629,
    "c": 0.11126,
    "h": 110.3
  },
  "luminance": 0.3018
}

Semantic roles & 50–950 ramp

primary
#989A42
secondary
#8180B8
accent
#58D05B
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #989A42

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

Preview Lab → · Contrast checker → · Palette generator →

#989A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva