#989D2C#989D2C

#989D2C is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.132 H 112.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#989D2C
RGBrgb(152, 157, 44)
HSLhsl(63, 56%, 39%)
HSVhsv(63, 72%, 62%)
CMYKcmyk(3.2%, 0%, 72%, 38.4%)
CIE-LABlab(62.48, -15.97, 55.12)
CIE-LCHlch(62.48, 57.39, 106.16°)
OKLaboklab(67.11% -0.0494 0.1224)
OKLCHoklch(67.11% 0.132 112)
XYZxyz(25.4613, 30.9718, 7.0193)
Luminance0.3097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D2C #312C9D
analogous
#9D6A2C #989D2C #609D2C
triadic
#989D2C #2C989D #9D2C98
tetradic
#989D2C #2C9D6A #312C9D #9D2C60
square
#989D2C #2C9D6A #312C9D #9D2C60
split-complementary
#989D2C #2C609D #6A2C9D
monochromatic
#3B3D11 #6A6D1F #989D2C #C3C93D #D2D66D

Accessibility & contrast

On white

2.92
#989D2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#989D2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D2C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D2C#FFFFFF#000000##000000
##989D2C1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99618
Deuteranopia (green-blind)
#AA9835
Tritanopia (blue-blind)
#A39387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d2c;
/* rgb */ color: rgb(152, 157, 44);
/* oklch */ color: oklch(67.1% 0.132 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96d',
    500: '#989d2c',
    950: '#000000',
  },
}
SCSS
$custom: #989d2c;
$custom-light: #b9b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#989d2c",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 62.655,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6711,
    "c": 0.13197,
    "h": 112
  },
  "luminance": 0.30971
}

Semantic roles & 50–950 ramp

primary
#989D2C
secondary
#6B68BD
accent
#48E04F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989D2C

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

Preview Lab → · Contrast checker → · Palette generator →

#989D2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva