#989F28#989F28

#989F28 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.137 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#989F28
RGBrgb(152, 159, 40)
HSLhsl(64, 60%, 39%)
HSVhsv(64, 75%, 62%)
CMYKcmyk(4.4%, 0%, 74.8%, 37.6%)
CIE-LABlab(63.03, -17.20, 57.08)
CIE-LCHlch(63.03, 59.62, 106.77°)
OKLaboklab(67.54% -0.0532 0.1258)
OKLCHoklch(67.54% 0.137 112.9)
XYZxyz(25.7308, 31.6255, 6.7559)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F28 #2F289F
analogous
#9F6B28 #989F28 #5D9F28
triadic
#989F28 #28989F #9F2898
tetradic
#989F28 #289F6B #2F289F #9F285D
square
#989F28 #289F6B #2F289F #9F285D
split-complementary
#989F28 #285D9F #6B289F
monochromatic
#3B3D0F #696E1C #989F28 #C4CD37 #D2D968

Accessibility & contrast

On white

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

On black

7.32
#989F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F28
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F28#FFFFFF#000000##000000
##989F281.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970E
Deuteranopia (green-blind)
#AB9A32
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f28;
/* rgb */ color: rgb(152, 159, 40);
/* oklch */ color: oklch(67.5% 0.137 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb6b',
    500: '#989f28',
    950: '#000000',
  },
}
SCSS
$custom: #989f28;
$custom-light: #babb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#989f28",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 63.529,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67541,
    "c": 0.13658,
    "h": 112.9
  },
  "luminance": 0.31625
}

Semantic roles & 50–950 ramp

primary
#989F28
secondary
#6964BF
accent
#45E34E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989F28

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

Preview Lab → · Contrast checker → · Palette generator →

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