#989A28#989A28

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

Color values

HEX#989A28
RGBrgb(152, 154, 40)
HSLhsl(61, 59%, 38%)
HSVhsv(61, 74%, 60%)
CMYKcmyk(1.3%, 0%, 74%, 39.6%)
CIE-LABlab(61.60, -14.61, 55.73)
CIE-LCHlch(61.60, 57.62, 104.69°)
OKLaboklab(66.4% -0.046 0.1229)
OKLCHoklch(66.4% 0.131 110.5)
XYZxyz(24.8884, 29.9405, 6.4751)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A28 #2A289A
analogous
#9A6328 #989A28 #5F9A28
triadic
#989A28 #28989A #9A2898
tetradic
#989A28 #289A63 #2A289A #9A285F
square
#989A28 #289A63 #2A289A #9A285F
split-complementary
#989A28 #285F9A #63289A
monochromatic
#38390F #68691B #989A28 #C8CA35 #D5D765

Accessibility & contrast

On white

3.01
#989A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#989A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A28
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A28#FFFFFF#000000##000000
##989A281.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69311
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a28;
/* rgb */ color: rgb(152, 154, 40);
/* oklch */ color: oklch(66.4% 0.131 110.5);
Tailwind
colors: {
  custom: {
    50: '#bab76b',
    500: '#989a28',
    950: '#000000',
  },
}
SCSS
$custom: #989a28;
$custom-light: #bab76b;
$custom-dark: #000000;
JSON
{
  "hex": "#989a28",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 61.053,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66397,
    "c": 0.13125,
    "h": 110.5
  },
  "luminance": 0.2994
}

Semantic roles & 50–950 ramp

primary
#989A28
secondary
#6261BD
accent
#46E249
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989A28

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

Preview Lab → · Contrast checker → · Palette generator →

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