#989F2A#989F2A

#989F2A is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.135 H 112.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#989F2A
RGBrgb(152, 159, 42)
HSLhsl(64, 58%, 39%)
HSVhsv(64, 74%, 62%)
CMYKcmyk(4.4%, 0%, 73.6%, 37.6%)
CIE-LABlab(63.04, -17.11, 56.39)
CIE-LCHlch(63.04, 58.93, 106.88°)
OKLaboklab(67.55% -0.0528 0.1247)
OKLCHoklch(67.55% 0.135 112.9)
XYZxyz(25.7657, 31.6394, 6.9398)
Luminance0.3164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F2A #312A9F
analogous
#9F6C2A #989F2A #5E9F2A
triadic
#989F2A #2A989F #9F2A98
tetradic
#989F2A #2A9F6C #312A9F #9F2A5E
square
#989F2A #2A9F6C #312A9F #9F2A5E
split-complementary
#989F2A #2A5E9F #6C2A9F
monochromatic
#3B3E10 #6A6F1D #989F2A #C3CB3B #D2D86B

Accessibility & contrast

On white

2.87
#989F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#989F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F2A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F2A#FFFFFF#000000##000000
##989F2A1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9713
Deuteranopia (green-blind)
#AB9A33
Tritanopia (blue-blind)
#A29589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #989f2a;
/* rgb */ color: rgb(152, 159, 42);
/* oklch */ color: oklch(67.6% 0.135 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb6c',
    500: '#989f2a',
    950: '#000000',
  },
}
SCSS
$custom: #989f2a;
$custom-light: #babb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#989f2a",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 63.59,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67554,
    "c": 0.13539,
    "h": 112.9
  },
  "luminance": 0.31639
}

Semantic roles & 50–950 ramp

primary
#989F2A
secondary
#6B66BF
accent
#46E150
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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