#989E1A#989E1A

#989E1A is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.142 H 112.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#989E1A
RGBrgb(152, 158, 26)
HSLhsl(63, 72%, 36%)
HSVhsv(63, 84%, 62%)
CMYKcmyk(3.8%, 0%, 83.5%, 38%)
CIE-LABlab(62.68, -17.23, 60.99)
CIE-LCHlch(62.68, 63.38, 105.78°)
OKLaboklab(67.24% -0.0544 0.1316)
OKLCHoklch(67.24% 0.142 112.5)
XYZxyz(25.3631, 31.2043, 5.6641)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E1A #201A9E
analogous
#9E621A #989E1A #569E1A
triadic
#989E1A #1A989E #9E1A98
tetradic
#989E1A #1A9E62 #201A9E #9E1A56
square
#989E1A #1A9E62 #201A9E #9E1A56
split-complementary
#989E1A #1A569E #621A9E
monochromatic
#333509 #656911 #989E1A #CBD323 #DCE250

Accessibility & contrast

On white

2.90
#989E1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#989E1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E1A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E1A#FFFFFF#000000##000000
##989E1A1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB9928
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e1a;
/* rgb */ color: rgb(152, 158, 26);
/* oklch */ color: oklch(67.2% 0.142 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba65',
    500: '#989e1a',
    950: '#000000',
  },
}
SCSS
$custom: #989e1a;
$custom-light: #baba65;
$custom-dark: #000000;
JSON
{
  "hex": "#989e1a",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 62.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67238,
    "c": 0.14239,
    "h": 112.5
  },
  "luminance": 0.31204
}

Semantic roles & 50–950 ramp

primary
#989E1A
secondary
#544FC5
accent
#39EE42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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