#989231#989231

#989231 is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.7% C 0.117 H 105.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#989231
RGBrgb(152, 146, 49)
HSLhsl(57, 51%, 39%)
HSVhsv(57, 68%, 60%)
CMYKcmyk(0%, 3.9%, 67.8%, 40.4%)
CIE-LABlab(59.39, -9.90, 50.05)
CIE-LCHlch(59.39, 51.02, 101.19°)
OKLaboklab(64.65% -0.0318 0.1126)
OKLCHoklch(64.65% 0.117 105.8)
XYZxyz(23.7830, 27.4558, 6.9518)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989231 #313798
analogous
#985F31 #989231 #6B9831
triadic
#989231 #319892 #923198
tetradic
#989231 #31985F #313798 #98316B
square
#989231 #31985F #313798 #98316B
split-complementary
#989231 #316B98 #5F3198
monochromatic
#3B3913 #6A6622 #989231 #C3BB44 #D2CC72

Accessibility & contrast

On white

3.24
#989231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#989231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989231
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989231#FFFFFF#000000##000000
##9892311.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D24
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#A3887E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #989231;
/* rgb */ color: rgb(152, 146, 49);
/* oklch */ color: oklch(64.7% 0.117 105.8);
Tailwind
colors: {
  custom: {
    50: '#b9b16f',
    500: '#989231',
    950: '#000000',
  },
}
SCSS
$custom: #989231;
$custom-light: #b9b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#989231",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 56.505,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64654,
    "c": 0.11696,
    "h": 105.8
  },
  "luminance": 0.27455
}

Semantic roles & 50–950 ramp

primary
#989231
secondary
#6B70B9
accent
#55DB4D
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #989231

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

Preview Lab → · Contrast checker → · Palette generator →

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