#989A2D#989A2D

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

Color values

HEX#989A2D
RGBrgb(152, 154, 45)
HSLhsl(61, 55%, 39%)
HSVhsv(61, 71%, 60%)
CMYKcmyk(1.3%, 0%, 70.8%, 39.6%)
CIE-LABlab(61.63, -14.36, 53.91)
CIE-LCHlch(61.63, 55.79, 104.91°)
OKLaboklab(66.43% -0.0448 0.12)
OKLCHoklch(66.43% 0.128 110.5)
XYZxyz(24.9790, 29.9767, 6.9524)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A2D #2F2D9A
analogous
#9A662D #989A2D #629A2D
triadic
#989A2D #2D989A #9A2D98
tetradic
#989A2D #2D9A66 #2F2D9A #9A2D62
square
#989A2D #2D9A66 #2F2D9A #9A2D62
split-complementary
#989A2D #2D629A #662D9A
monochromatic
#3B3B11 #696B1F #989A2D #C4C73E #D2D46D

Accessibility & contrast

On white

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

On black

7.00
#989A2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989A2D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A2D#FFFFFF#000000##000000
##989A2D1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#A39085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a2d;
/* rgb */ color: rgb(152, 154, 45);
/* oklch */ color: oklch(66.4% 0.128 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b76d',
    500: '#989a2d',
    950: '#000000',
  },
}
SCSS
$custom: #989a2d;
$custom-light: #b9b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#989a2d",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 61.101,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66432,
    "c": 0.12808,
    "h": 110.5
  },
  "luminance": 0.29976
}

Semantic roles & 50–950 ramp

primary
#989A2D
secondary
#6967BB
accent
#4ADE4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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