#989D28#989D28

#989D28 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.1% C 0.134 H 112.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#989D28
RGBrgb(152, 157, 40)
HSLhsl(63, 59%, 39%)
HSVhsv(63, 75%, 62%)
CMYKcmyk(3.2%, 0%, 74.5%, 38.4%)
CIE-LABlab(62.46, -16.17, 56.54)
CIE-LCHlch(62.46, 58.81, 105.96°)
OKLaboklab(67.08% -0.0503 0.1246)
OKLCHoklch(67.08% 0.134 112)
XYZxyz(25.3897, 30.9432, 6.6422)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D28 #2D289D
analogous
#9D6728 #989D28 #5D9D28
triadic
#989D28 #28989D #9D2898
tetradic
#989D28 #289D67 #2D289D #9D285D
square
#989D28 #289D67 #2D289D #9D285D
split-complementary
#989D28 #285D9D #67289D
monochromatic
#3A3B0F #696C1C #989D28 #C5CC36 #D3D867

Accessibility & contrast

On white

2.92
#989D28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#989D28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D28
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D28#FFFFFF#000000##000000
##989D281.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960F
Deuteranopia (green-blind)
#AA9832
Tritanopia (blue-blind)
#A39387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d28;
/* rgb */ color: rgb(152, 157, 40);
/* oklch */ color: oklch(67.1% 0.134 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab96b',
    500: '#989d28',
    950: '#000000',
  },
}
SCSS
$custom: #989d28;
$custom-light: #bab96b;
$custom-dark: #000000;
JSON
{
  "hex": "#989d28",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 62.564,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67083,
    "c": 0.13442,
    "h": 112
  },
  "luminance": 0.30943
}

Semantic roles & 50–950 ramp

primary
#989D28
secondary
#6662BE
accent
#45E34C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989D28

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

Preview Lab → · Contrast checker → · Palette generator →

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