#989A40#989A40

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

Color values

HEX#989A40
RGBrgb(152, 154, 64)
HSLhsl(61, 41%, 43%)
HSVhsv(61, 58%, 60%)
CMYKcmyk(1.3%, 0%, 58.4%, 39.6%)
CIE-LABlab(61.79, -13.11, 45.94)
CIE-LCHlch(61.79, 47.78, 105.93°)
OKLaboklab(66.61% -0.0392 0.1061)
OKLCHoklch(66.61% 0.113 110.3)
XYZxyz(25.4306, 30.1574, 9.3308)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A40 #42409A
analogous
#9A6F40 #989A40 #6B9A40
triadic
#989A40 #40989A #9A4098
tetradic
#989A40 #409A6F #42409A #9A406B
square
#989A40 #409A6F #42409A #9A406B
split-complementary
#989A40 #406B9A #6F409A
monochromatic
#43441C #6D6F2E #989A40 #B9BB5C #CCCD87

Accessibility & contrast

On white

2.99
#989A40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#989A40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989A40
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A40#FFFFFF#000000##000000
##989A401.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989a40;
/* rgb */ color: rgb(152, 154, 64);
/* oklch */ color: oklch(66.6% 0.113 110.3);
Tailwind
colors: {
  custom: {
    50: '#b9b778',
    500: '#989a40',
    950: '#000000',
  },
}
SCSS
$custom: #989a40;
$custom-light: #b9b778;
$custom-dark: #000000;
JSON
{
  "hex": "#989a40",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 61.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.1131,
    "h": 110.3
  },
  "luminance": 0.30157
}

Semantic roles & 50–950 ramp

primary
#989A40
secondary
#7F7EB8
accent
#57D159
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #989A40

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

Preview Lab → · Contrast checker → · Palette generator →

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