#989D26#989D26

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

Color values

HEX#989D26
RGBrgb(152, 157, 38)
HSLhsl(63, 61%, 38%)
HSVhsv(63, 76%, 62%)
CMYKcmyk(3.2%, 0%, 75.8%, 38.4%)
CIE-LABlab(62.45, -16.26, 57.22)
CIE-LCHlch(62.45, 59.49, 105.87°)
OKLaboklab(67.07% -0.0508 0.1257)
OKLCHoklch(67.07% 0.136 112)
XYZxyz(25.3566, 30.9299, 6.4677)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D26 #2B269D
analogous
#9D6626 #989D26 #5C9D26
triadic
#989D26 #26989D #9D2698
tetradic
#989D26 #269D66 #2B269D #9D265C
square
#989D26 #269D66 #2B269D #9D265C
split-complementary
#989D26 #265C9D #66269D
monochromatic
#393A0E #686C1A #989D26 #C7CE33 #D5D964

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989D26#FFFFFF#000000##000000
##989D261.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)
#A9960A
Deuteranopia (green-blind)
#AA9830
Tritanopia (blue-blind)
#A39387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d26;
/* rgb */ color: rgb(152, 157, 38);
/* oklch */ color: oklch(67.1% 0.136 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab96a',
    500: '#989d26',
    950: '#000000',
  },
}
SCSS
$custom: #989d26;
$custom-light: #bab96a;
$custom-dark: #000000;
JSON
{
  "hex": "#989d26",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 62.521,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6707,
    "c": 0.13558,
    "h": 112
  },
  "luminance": 0.30929
}

Semantic roles & 50–950 ramp

primary
#989D26
secondary
#6460BF
accent
#44E44A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989D26

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

Preview Lab → · Contrast checker → · Palette generator →

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