#989333#989333

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

Color values

HEX#989333
RGBrgb(152, 147, 51)
HSLhsl(57, 50%, 40%)
HSVhsv(57, 66%, 60%)
CMYKcmyk(0%, 3.3%, 66.4%, 40.4%)
CIE-LABlab(59.69, -10.31, 49.51)
CIE-LCHlch(59.69, 50.57, 101.77°)
OKLaboklab(64.9% -0.0328 0.1117)
OKLCHoklch(64.9% 0.116 106.3)
XYZxyz(23.9810, 27.7827, 7.2307)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989333 #333898
analogous
#986133 #989333 #6A9833
triadic
#989333 #339893 #933398
tetradic
#989333 #339861 #333898 #98336A
square
#989333 #339861 #333898 #98336A
split-complementary
#989333 #336A98 #613398
monochromatic
#3C3A14 #6A6724 #989333 #C1BB47 #D1CC75

Accessibility & contrast

On white

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

On black

6.56
#989333 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989333
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989333#FFFFFF#000000##000000
##9893331.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989333;
/* rgb */ color: rgb(152, 147, 51);
/* oklch */ color: oklch(64.9% 0.116 106.3);
Tailwind
colors: {
  custom: {
    50: '#b9b270',
    500: '#989333',
    950: '#000000',
  },
}
SCSS
$custom: #989333;
$custom-light: #b9b270;
$custom-dark: #000000;
JSON
{
  "hex": "#989333",
  "rgb": {
    "r": 152,
    "g": 147,
    "b": 51
  },
  "hsl": {
    "h": 57.03,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64897,
    "c": 0.11644,
    "h": 106.3
  },
  "luminance": 0.27782
}

Semantic roles & 50–950 ramp

primary
#989333
secondary
#6E72B9
accent
#55D94F
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #989333

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

Preview Lab → · Contrast checker → · Palette generator →

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