#989B2D#989B2D

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

Color values

HEX#989B2D
RGBrgb(152, 155, 45)
HSLhsl(62, 55%, 39%)
HSVhsv(62, 71%, 61%)
CMYKcmyk(1.9%, 0%, 71%, 39.2%)
CIE-LABlab(61.92, -14.88, 54.19)
CIE-LCHlch(61.92, 56.20, 105.36°)
OKLaboklab(66.66% -0.0463 0.1206)
OKLCHoklch(66.66% 0.129 111)
XYZxyz(25.1447, 30.3082, 7.0076)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B2D #302D9B
analogous
#9B672D #989B2D #619B2D
triadic
#989B2D #2D989B #9B2D98
tetradic
#989B2D #2D9B67 #302D9B #9B2D61
square
#989B2D #2D9B67 #302D9B #9B2D61
split-complementary
#989B2D #2D619B #672D9B
monochromatic
#3B3C11 #696C1F #989B2D #C3C73E #D2D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989B2D#FFFFFF#000000##000000
##989B2D1.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)
#A7941A
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989b2d;
/* rgb */ color: rgb(152, 155, 45);
/* oklch */ color: oklch(66.7% 0.129 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b86d',
    500: '#989b2d',
    950: '#000000',
  },
}
SCSS
$custom: #989b2d;
$custom-light: #b9b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#989b2d",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 61.636,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6666,
    "c": 0.12915,
    "h": 111
  },
  "luminance": 0.30308
}

Semantic roles & 50–950 ramp

primary
#989B2D
secondary
#6A68BC
accent
#49DE4E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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