#989239#989239

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

Color values

HEX#989239
RGBrgb(152, 146, 57)
HSLhsl(56, 45%, 41%)
HSVhsv(56, 63%, 60%)
CMYKcmyk(0%, 3.9%, 62.5%, 40.4%)
CIE-LABlab(59.46, -9.38, 46.61)
CIE-LCHlch(59.46, 47.55, 101.38°)
OKLaboklab(64.73% -0.0294 0.1065)
OKLCHoklch(64.73% 0.111 105.4)
XYZxyz(23.9671, 27.5294, 7.9213)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989239 #393F98
analogous
#986239 #989239 #6E9839
triadic
#989239 #399892 #923998
tetradic
#989239 #399862 #393F98 #98396E
square
#989239 #399862 #393F98 #98396E
split-complementary
#989239 #396E98 #623998
monochromatic
#3F3C18 #6B6728 #989239 #BEB751 #CEC97D

Accessibility & contrast

On white

3.23
#989239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#989239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989239
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989239#FFFFFF#000000##000000
##9892391.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2F
Deuteranopia (green-blind)
#A0913E
Tritanopia (blue-blind)
#A3897F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #989239;
/* rgb */ color: rgb(152, 146, 57);
/* oklch */ color: oklch(64.7% 0.111 105.4);
Tailwind
colors: {
  custom: {
    50: '#b9b173',
    500: '#989239',
    950: '#000000',
  },
}
SCSS
$custom: #989239;
$custom-light: #b9b173;
$custom-dark: #000000;
JSON
{
  "hex": "#989239",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 56.211,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64729,
    "c": 0.11053,
    "h": 105.4
  },
  "luminance": 0.27529
}

Semantic roles & 50–950 ramp

primary
#989239
secondary
#7579B8
accent
#5BD553
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #989239

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

Preview Lab → · Contrast checker → · Palette generator →

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