#989331#989331

#989331 is a light, moderate yellow. Relative luminance 0.278; OKLCH L 64.9% C 0.118 H 106.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#989331
RGBrgb(152, 147, 49)
HSLhsl(57, 51%, 39%)
HSVhsv(57, 68%, 60%)
CMYKcmyk(0%, 3.3%, 67.8%, 40.4%)
CIE-LABlab(59.68, -10.43, 50.34)
CIE-LCHlch(59.68, 51.41, 101.71°)
OKLaboklab(64.88% -0.0333 0.1132)
OKLCHoklch(64.88% 0.118 106.4)
XYZxyz(23.9379, 27.7654, 7.0034)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989331 #313698
analogous
#985F31 #989331 #6A9831
triadic
#989331 #319893 #933198
tetradic
#989331 #31985F #313698 #98316A
square
#989331 #31985F #313698 #98316A
split-complementary
#989331 #316A98 #5F3198
monochromatic
#3B3913 #6A6622 #989331 #C3BC44 #D2CD72

Accessibility & contrast

On white

3.20
#989331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#989331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989331
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989331#FFFFFF#000000##000000
##9893311.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D23
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#A3897F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #989331;
/* rgb */ color: rgb(152, 147, 49);
/* oklch */ color: oklch(64.9% 0.118 106.4);
Tailwind
colors: {
  custom: {
    50: '#b9b26f',
    500: '#989331',
    950: '#000000',
  },
}
SCSS
$custom: #989331;
$custom-light: #b9b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#989331",
  "rgb": {
    "r": 152,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 57.087,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64879,
    "c": 0.11797,
    "h": 106.4
  },
  "luminance": 0.27765
}

Semantic roles & 50–950 ramp

primary
#989331
secondary
#6B6FB9
accent
#54DB4D
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #989331

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

Preview Lab → · Contrast checker → · Palette generator →

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