#989B28#989B28

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

Color values

HEX#989B28
RGBrgb(152, 155, 40)
HSLhsl(62, 59%, 38%)
HSVhsv(62, 74%, 61%)
CMYKcmyk(1.9%, 0%, 74.2%, 39.2%)
CIE-LABlab(61.89, -15.13, 56.00)
CIE-LCHlch(61.89, 58.01, 105.12°)
OKLaboklab(66.63% -0.0474 0.1235)
OKLCHoklch(66.63% 0.132 111)
XYZxyz(25.0541, 30.2720, 6.5304)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B28 #2B289B
analogous
#9B6428 #989B28 #5E9B28
triadic
#989B28 #28989B #9B2898
tetradic
#989B28 #289B64 #2B289B #9B285E
square
#989B28 #289B64 #2B289B #9B285E
split-complementary
#989B28 #285E9B #64289B
monochromatic
#393A0F #686A1B #989B28 #C7CB35 #D5D766

Accessibility & contrast

On white

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

On black

7.05
#989B28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B28
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B28#FFFFFF#000000##000000
##989B281.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79410
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989b28;
/* rgb */ color: rgb(152, 155, 40);
/* oklch */ color: oklch(66.6% 0.132 111.0);
Tailwind
colors: {
  custom: {
    50: '#bab86b',
    500: '#989b28',
    950: '#000000',
  },
}
SCSS
$custom: #989b28;
$custom-light: #bab86b;
$custom-dark: #000000;
JSON
{
  "hex": "#989b28",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 61.565,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66626,
    "c": 0.1323,
    "h": 111
  },
  "luminance": 0.30271
}

Semantic roles & 50–950 ramp

primary
#989B28
secondary
#6461BD
accent
#46E24A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989B28

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

Preview Lab → · Contrast checker → · Palette generator →

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