#989B2A#989B2A

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

Color values

HEX#989B2A
RGBrgb(152, 155, 42)
HSLhsl(62, 57%, 39%)
HSVhsv(62, 73%, 61%)
CMYKcmyk(1.9%, 0%, 72.9%, 39.2%)
CIE-LABlab(61.90, -15.04, 55.30)
CIE-LCHlch(61.90, 57.30, 105.21°)
OKLaboklab(66.64% -0.047 0.1224)
OKLCHoklch(66.64% 0.131 111)
XYZxyz(25.0890, 30.2859, 6.7142)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B2A #2D2A9B
analogous
#9B652A #989B2A #5F9B2A
triadic
#989B2A #2A989B #9B2A98
tetradic
#989B2A #2A9B65 #2D2A9B #9B2A5F
square
#989B2A #2A9B65 #2D2A9B #9B2A5F
split-complementary
#989B2A #2A5F9B #652A9B
monochromatic
#3A3B10 #696B1D #989B2A #C5C939 #D3D669

Accessibility & contrast

On white

2.98
#989B2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##989B2A#FFFFFF#000000##000000
##989B2A1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989b2a;
/* rgb */ color: rgb(152, 155, 42);
/* oklch */ color: oklch(66.6% 0.131 111.0);
Tailwind
colors: {
  custom: {
    50: '#bab86c',
    500: '#989b2a',
    950: '#000000',
  },
}
SCSS
$custom: #989b2a;
$custom-light: #bab86c;
$custom-dark: #000000;
JSON
{
  "hex": "#989b2a",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 61.593,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66639,
    "c": 0.13108,
    "h": 111
  },
  "luminance": 0.30285
}

Semantic roles & 50–950 ramp

primary
#989B2A
secondary
#6664BD
accent
#47E14B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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