#989131#989131

#989131 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.4% C 0.116 H 105.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#989131
RGBrgb(152, 145, 49)
HSLhsl(56, 51%, 39%)
HSVhsv(56, 68%, 60%)
CMYKcmyk(0%, 4.6%, 67.8%, 40.4%)
CIE-LABlab(59.11, -9.36, 49.76)
CIE-LCHlch(59.11, 50.64, 100.66°)
OKLaboklab(64.43% -0.0303 0.1119)
OKLCHoklch(64.43% 0.116 105.1)
XYZxyz(23.6296, 27.1488, 6.9007)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989131 #313898
analogous
#985D31 #989131 #6C9831
triadic
#989131 #319891 #913198
tetradic
#989131 #31985D #313898 #98316C
square
#989131 #31985D #313898 #98316C
split-complementary
#989131 #316C98 #5D3198
monochromatic
#3B3913 #6A6522 #989131 #C3BA44 #D2CB72

Accessibility & contrast

On white

3.27
#989131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#989131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989131
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989131#FFFFFF#000000##000000
##9891311.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C24
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#A3877D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #989131;
/* rgb */ color: rgb(152, 145, 49);
/* oklch */ color: oklch(64.4% 0.116 105.1);
Tailwind
colors: {
  custom: {
    50: '#b9b16f',
    500: '#989131',
    950: '#000000',
  },
}
SCSS
$custom: #989131;
$custom-light: #b9b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#989131",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 55.922,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.11597,
    "h": 105.1
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#989131
secondary
#6B71B9
accent
#57DB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #989131

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

Preview Lab → · Contrast checker → · Palette generator →

#989131 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva