#989A2A#989A2A

#989A2A is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.4% C 0.130 H 110.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#989A2A
RGBrgb(152, 154, 42)
HSLhsl(61, 57%, 38%)
HSVhsv(61, 73%, 60%)
CMYKcmyk(1.3%, 0%, 72.7%, 39.6%)
CIE-LABlab(61.61, -14.52, 55.02)
CIE-LCHlch(61.61, 56.90, 104.78°)
OKLaboklab(66.41% -0.0455 0.1218)
OKLCHoklch(66.41% 0.13 110.5)
XYZxyz(24.9233, 29.9545, 6.6589)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A2A #2C2A9A
analogous
#9A642A #989A2A #609A2A
triadic
#989A2A #2A989A #9A2A98
tetradic
#989A2A #2A9A64 #2C2A9A #9A2A60
square
#989A2A #2A9A64 #2C2A9A #9A2A60
split-complementary
#989A2A #2A609A #642A9A
monochromatic
#393A10 #696A1D #989A2A #C6C938 #D4D668

Accessibility & contrast

On white

3.00
#989A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#989A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A2A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A2A#FFFFFF#000000##000000
##989A2A1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a2a;
/* rgb */ color: rgb(152, 154, 42);
/* oklch */ color: oklch(66.4% 0.130 110.5);
Tailwind
colors: {
  custom: {
    50: '#bab76c',
    500: '#989a2a',
    950: '#000000',
  },
}
SCSS
$custom: #989a2a;
$custom-light: #bab76c;
$custom-dark: #000000;
JSON
{
  "hex": "#989a2a",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 61.071,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66411,
    "c": 0.13002,
    "h": 110.5
  },
  "luminance": 0.29954
}

Semantic roles & 50–950 ramp

primary
#989A2A
secondary
#6563BC
accent
#47E04A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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