#989F2B#989F2B

#989F2B 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#989F2B
RGBrgb(152, 159, 43)
HSLhsl(64, 57%, 40%)
HSVhsv(64, 73%, 62%)
CMYKcmyk(4.4%, 0%, 73%, 37.6%)
CIE-LABlab(63.05, -17.06, 56.04)
CIE-LCHlch(63.05, 58.58, 106.93°)
OKLaboklab(67.56% -0.0525 0.1241)
OKLCHoklch(67.56% 0.135 112.9)
XYZxyz(25.7839, 31.6467, 7.0352)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F2B #322B9F
analogous
#9F6C2B #989F2B #5E9F2B
triadic
#989F2B #2B989F #9F2B98
tetradic
#989F2B #2B9F6C #322B9F #9F2B5E
square
#989F2B #2B9F6C #322B9F #9F2B5E
split-complementary
#989F2B #2B5E9F #6C2B9F
monochromatic
#3C3F11 #6A6F1E #989F2B #C2CA3D #D1D76D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989F2B#FFFFFF#000000##000000
##989F2B1.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)
#AB9715
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#A29589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #989f2b;
/* rgb */ color: rgb(152, 159, 43);
/* oklch */ color: oklch(67.6% 0.135 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb6d',
    500: '#989f2b',
    950: '#000000',
  },
}
SCSS
$custom: #989f2b;
$custom-light: #babb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#989f2b",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 63.621,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67561,
    "c": 0.13477,
    "h": 112.9
  },
  "luminance": 0.31646
}

Semantic roles & 50–950 ramp

primary
#989F2B
secondary
#6D67BE
accent
#47E150
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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