#989A2B#989A2B

#989A2B is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.4% C 0.129 H 110.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#989A2B
RGBrgb(152, 154, 43)
HSLhsl(61, 56%, 39%)
HSVhsv(61, 72%, 60%)
CMYKcmyk(1.3%, 0%, 72.1%, 39.6%)
CIE-LABlab(61.62, -14.47, 54.66)
CIE-LCHlch(61.62, 56.54, 104.82°)
OKLaboklab(66.42% -0.0453 0.1212)
OKLCHoklch(66.42% 0.129 110.5)
XYZxyz(24.9414, 29.9617, 6.7544)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A2B #2D2B9A
analogous
#9A642B #989A2B #609A2B
triadic
#989A2B #2B989A #9A2B98
tetradic
#989A2B #2B9A64 #2D2B9A #9A2B60
square
#989A2B #2B9A64 #2D2B9A #9A2B60
split-complementary
#989A2B #2B609A #642B9A
monochromatic
#3A3A10 #696A1E #989A2B #C5C83A #D3D56A

Accessibility & contrast

On white

3.00
#989A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#989A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A2B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A2B#FFFFFF#000000##000000
##989A2B1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a2b;
/* rgb */ color: rgb(152, 154, 43);
/* oklch */ color: oklch(66.4% 0.129 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b76c',
    500: '#989a2b',
    950: '#000000',
  },
}
SCSS
$custom: #989a2b;
$custom-light: #b9b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#989a2b",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 43
  },
  "hsl": {
    "h": 61.081,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66418,
    "c": 0.12939,
    "h": 110.5
  },
  "luminance": 0.29961
}

Semantic roles & 50–950 ramp

primary
#989A2B
secondary
#6665BC
accent
#48E04B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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