#989F42#989F42

#989F42 is a light, moderate yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.117 H 113.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#989F42
RGBrgb(152, 159, 66)
HSLhsl(65, 41%, 44%)
HSVhsv(65, 58%, 62%)
CMYKcmyk(4.4%, 0%, 58.5%, 37.6%)
CIE-LABlab(63.23, -15.57, 46.62)
CIE-LCHlch(63.23, 49.15, 108.47°)
OKLaboklab(67.77% -0.0459 0.1078)
OKLCHoklch(67.77% 0.117 113.1)
XYZxyz(26.3310, 31.8655, 9.9168)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F42 #49429F
analogous
#9F7842 #989F42 #6A9F42
triadic
#989F42 #42989F #9F4298
tetradic
#989F42 #429F78 #49429F #9F426A
square
#989F42 #429F78 #49429F #9F426A
split-complementary
#989F42 #426A9F #78429F
monochromatic
#45491E #6F7430 #989F42 #B6BD61 #CACF8C

Accessibility & contrast

On white

2.85
#989F42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#989F42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F42
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F42#FFFFFF#000000##000000
##989F421.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9838
Deuteranopia (green-blind)
#AA9A48
Tritanopia (blue-blind)
#A1968B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #989f42;
/* rgb */ color: rgb(152, 159, 66);
/* oklch */ color: oklch(67.8% 0.117 113.1);
Tailwind
colors: {
  custom: {
    50: '#b8bb7a',
    500: '#989f42',
    950: '#000000',
  },
}
SCSS
$custom: #989f42;
$custom-light: #b8bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#989f42",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 64.516,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67765,
    "c": 0.11717,
    "h": 113.1
  },
  "luminance": 0.31865
}

Semantic roles & 50–950 ramp

primary
#989F42
secondary
#8782BA
accent
#57D160
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121109
muted
#81807B

Preview Lab

Preview with #989F42

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

Preview Lab → · Contrast checker → · Palette generator →

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