#989C28#989C28

#989C28 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.9% C 0.133 H 111.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#989C28
RGBrgb(152, 156, 40)
HSLhsl(62, 59%, 38%)
HSVhsv(62, 74%, 61%)
CMYKcmyk(2.6%, 0%, 74.4%, 38.8%)
CIE-LABlab(62.17, -15.65, 56.27)
CIE-LCHlch(62.17, 58.41, 105.55°)
OKLaboklab(66.85% -0.0489 0.1241)
OKLCHoklch(66.85% 0.133 111.5)
XYZxyz(25.2212, 30.6062, 6.5861)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C28 #2C289C
analogous
#9C6628 #989C28 #5E9C28
triadic
#989C28 #28989C #9C2898
tetradic
#989C28 #289C66 #2C289C #9C285E
square
#989C28 #289C66 #2C289C #9C285E
split-complementary
#989C28 #285E9C #66289C
monochromatic
#393B0F #696B1C #989C28 #C6CB36 #D4D867

Accessibility & contrast

On white

2.95
#989C28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#989C28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C28
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C28#FFFFFF#000000##000000
##989C281.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89510
Deuteranopia (green-blind)
#A99831
Tritanopia (blue-blind)
#A39286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c28;
/* rgb */ color: rgb(152, 156, 40);
/* oklch */ color: oklch(66.9% 0.133 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96b',
    500: '#989c28',
    950: '#000000',
  },
}
SCSS
$custom: #989c28;
$custom-light: #bab96b;
$custom-dark: #000000;
JSON
{
  "hex": "#989c28",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 62.069,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66854,
    "c": 0.13336,
    "h": 111.5
  },
  "luminance": 0.30606
}

Semantic roles & 50–950 ramp

primary
#989C28
secondary
#6562BE
accent
#45E24B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989C28

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

Preview Lab → · Contrast checker → · Palette generator →

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