#989B2C#989B2C

#989B2C is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.7% C 0.130 H 111.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#989B2C
RGBrgb(152, 155, 44)
HSLhsl(62, 56%, 39%)
HSVhsv(62, 72%, 61%)
CMYKcmyk(1.9%, 0%, 71.6%, 39.2%)
CIE-LABlab(61.91, -14.94, 54.57)
CIE-LCHlch(61.91, 56.57, 105.31°)
OKLaboklab(66.65% -0.0465 0.1212)
OKLCHoklch(66.65% 0.13 111)
XYZxyz(25.1257, 30.3006, 6.9074)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B2C #2F2C9B
analogous
#9B672C #989B2C #619B2C
triadic
#989B2C #2C989B #9B2C98
tetradic
#989B2C #2C9B67 #2F2C9B #9B2C61
square
#989B2C #2C9B67 #2F2C9B #9B2C61
split-complementary
#989B2C #2C619B #672C9B
monochromatic
#3B3C11 #696B1E #989B2C #C4C83C #D2D56C

Accessibility & contrast

On white

2.97
#989B2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#989B2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B2C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B2C#FFFFFF#000000##000000
##989B2C1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79419
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989b2c;
/* rgb */ color: rgb(152, 155, 44);
/* oklch */ color: oklch(66.7% 0.130 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b86d',
    500: '#989b2c',
    950: '#000000',
  },
}
SCSS
$custom: #989b2c;
$custom-light: #b9b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#989b2c",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 61.622,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.1298,
    "h": 111
  },
  "luminance": 0.303
}

Semantic roles & 50–950 ramp

primary
#989B2C
secondary
#6967BC
accent
#49DF4D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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