#989F31#989F31

#989F31 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.6% C 0.131 H 113.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#989F31
RGBrgb(152, 159, 49)
HSLhsl(64, 53%, 41%)
HSVhsv(64, 69%, 62%)
CMYKcmyk(4.4%, 0%, 69.2%, 37.6%)
CIE-LABlab(63.09, -16.73, 53.80)
CIE-LCHlch(63.09, 56.35, 107.28°)
OKLaboklab(67.61% -0.051 0.1205)
OKLCHoklch(67.61% 0.131 113)
XYZxyz(25.9022, 31.6940, 7.6582)
Luminance0.3169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F31 #38319F
analogous
#9F6F31 #989F31 #619F31
triadic
#989F31 #31989F #9F3198
tetradic
#989F31 #319F6F #38319F #9F3161
square
#989F31 #319F6F #38319F #9F3161
split-complementary
#989F31 #31619F #6F319F
monochromatic
#3F4114 #6B7023 #989F31 #BEC647 #CFD576

Accessibility & contrast

On white

2.86
#989F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#989F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F31
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F31#FFFFFF#000000##000000
##989F311.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9720
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#A29589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #989f31;
/* rgb */ color: rgb(152, 159, 49);
/* oklch */ color: oklch(67.6% 0.131 113.0);
Tailwind
colors: {
  custom: {
    50: '#b9bb70',
    500: '#989f31',
    950: '#000000',
  },
}
SCSS
$custom: #989f31;
$custom-light: #b9bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#989f31",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 63.818,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67605,
    "c": 0.13081,
    "h": 113
  },
  "luminance": 0.31693
}

Semantic roles & 50–950 ramp

primary
#989F31
secondary
#746FBD
accent
#4CDC55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #989F31

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

Preview Lab → · Contrast checker → · Palette generator →

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