#989E31#989E31

#989E31 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.4% C 0.130 H 112.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#989E31
RGBrgb(152, 158, 49)
HSLhsl(63, 53%, 41%)
HSVhsv(63, 69%, 62%)
CMYKcmyk(3.8%, 0%, 69%, 38%)
CIE-LABlab(62.80, -16.22, 53.52)
CIE-LCHlch(62.80, 55.92, 106.86°)
OKLaboklab(67.38% -0.0496 0.1199)
OKLCHoklch(67.38% 0.13 112.5)
XYZxyz(25.7309, 31.3514, 7.6011)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E31 #37319E
analogous
#9E6D31 #989E31 #619E31
triadic
#989E31 #31989E #9E3198
tetradic
#989E31 #319E6D #37319E #9E3161
square
#989E31 #319E6D #37319E #9E3161
split-complementary
#989E31 #31619E #6D319E
monochromatic
#3E4114 #6B6F23 #989E31 #BFC646 #CFD475

Accessibility & contrast

On white

2.89
#989E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#989E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E31
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E31#FFFFFF#000000##000000
##989E311.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9720
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e31;
/* rgb */ color: rgb(152, 158, 49);
/* oklch */ color: oklch(67.4% 0.130 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9ba70',
    500: '#989e31',
    950: '#000000',
  },
}
SCSS
$custom: #989e31;
$custom-light: #b9ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#989e31",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 63.303,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67376,
    "c": 0.1297,
    "h": 112.5
  },
  "luminance": 0.31351
}

Semantic roles & 50–950 ramp

primary
#989E31
secondary
#736EBC
accent
#4CDC54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #989E31

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

Preview Lab → · Contrast checker → · Palette generator →

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