#989D31#989D31

#989D31 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.129 H 112.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#989D31
RGBrgb(152, 157, 49)
HSLhsl(63, 52%, 40%)
HSVhsv(63, 69%, 62%)
CMYKcmyk(3.2%, 0%, 68.8%, 38.4%)
CIE-LABlab(62.52, -15.70, 53.23)
CIE-LCHlch(62.52, 55.50, 106.43°)
OKLaboklab(67.15% -0.0481 0.1192)
OKLCHoklch(67.15% 0.129 112)
XYZxyz(25.5610, 31.0117, 7.5445)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D31 #36319D
analogous
#9D6C31 #989D31 #629D31
triadic
#989D31 #31989D #9D3198
tetradic
#989D31 #319D6C #36319D #9D3162
square
#989D31 #319D6C #36319D #9D3162
split-complementary
#989D31 #31629D #6C319D
monochromatic
#3E4014 #6B6E22 #989D31 #BFC546 #CFD475

Accessibility & contrast

On white

2.92
#989D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#989D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D31
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D31#FFFFFF#000000##000000
##989D311.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99621
Deuteranopia (green-blind)
#A99839
Tritanopia (blue-blind)
#A29387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d31;
/* rgb */ color: rgb(152, 157, 49);
/* oklch */ color: oklch(67.1% 0.129 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b970',
    500: '#989d31',
    950: '#000000',
  },
}
SCSS
$custom: #989d31;
$custom-light: #b9b970;
$custom-dark: #000000;
JSON
{
  "hex": "#989d31",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 62.778,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67148,
    "c": 0.12859,
    "h": 112
  },
  "luminance": 0.31011
}

Semantic roles & 50–950 ramp

primary
#989D31
secondary
#726EBC
accent
#4CDC53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #989D31

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

Preview Lab → · Contrast checker → · Palette generator →

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