#989A31#989A31

#989A31 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.5% C 0.125 H 110.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#989A31
RGBrgb(152, 154, 49)
HSLhsl(61, 52%, 40%)
HSVhsv(61, 68%, 60%)
CMYKcmyk(1.3%, 0%, 68.2%, 39.6%)
CIE-LABlab(61.66, -14.14, 52.36)
CIE-LCHlch(61.66, 54.24, 105.11°)
OKLaboklab(66.46% -0.0437 0.1174)
OKLCHoklch(66.46% 0.125 110.4)
XYZxyz(25.0597, 30.0090, 7.3774)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A31 #33319A
analogous
#9A6831 #989A31 #639A31
triadic
#989A31 #31989A #9A3198
tetradic
#989A31 #319A68 #33319A #9A3163
square
#989A31 #319A68 #33319A #9A3163
split-complementary
#989A31 #31639A #68319A
monochromatic
#3C3D13 #6A6C22 #989A31 #C1C445 #D1D273

Accessibility & contrast

On white

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

On black

7.00
#989A31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989A31
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A31#FFFFFF#000000##000000
##989A311.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69321
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#A39085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a31;
/* rgb */ color: rgb(152, 154, 49);
/* oklch */ color: oklch(66.5% 0.125 110.4);
Tailwind
colors: {
  custom: {
    50: '#b9b76f',
    500: '#989a31',
    950: '#000000',
  },
}
SCSS
$custom: #989a31;
$custom-light: #b9b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#989a31",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 61.143,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66464,
    "c": 0.12531,
    "h": 110.4
  },
  "luminance": 0.30008
}

Semantic roles & 50–950 ramp

primary
#989A31
secondary
#6E6CBA
accent
#4DDB4F
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #989A31

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

Preview Lab → · Contrast checker → · Palette generator →

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