#989C26#989C26

#989C26 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.135 H 111.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#989C26
RGBrgb(152, 156, 38)
HSLhsl(62, 61%, 38%)
HSVhsv(62, 76%, 61%)
CMYKcmyk(2.6%, 0%, 75.6%, 38.8%)
CIE-LABlab(62.16, -15.75, 56.95)
CIE-LCHlch(62.16, 59.09, 105.45°)
OKLaboklab(66.84% -0.0493 0.1251)
OKLCHoklch(66.84% 0.135 111.5)
XYZxyz(25.1881, 30.5929, 6.4115)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C26 #2A269C
analogous
#9C6526 #989C26 #5D9C26
triadic
#989C26 #26989C #9C2698
tetradic
#989C26 #269C65 #2A269C #9C265D
square
#989C26 #269C65 #2A269C #9C265D
split-complementary
#989C26 #265D9C #65269C
monochromatic
#383A0E #686B1A #989C26 #C8CD32 #D5D963

Accessibility & contrast

On white

2.95
#989C26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#989C26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C26
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C26#FFFFFF#000000##000000
##989C261.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8950A
Deuteranopia (green-blind)
#A99830
Tritanopia (blue-blind)
#A39286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c26;
/* rgb */ color: rgb(152, 156, 38);
/* oklch */ color: oklch(66.8% 0.135 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96a',
    500: '#989c26',
    950: '#000000',
  },
}
SCSS
$custom: #989c26;
$custom-light: #bab96a;
$custom-dark: #000000;
JSON
{
  "hex": "#989c26",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 38
  },
  "hsl": {
    "h": 62.034,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66841,
    "c": 0.13451,
    "h": 111.5
  },
  "luminance": 0.30592
}

Semantic roles & 50–950 ramp

primary
#989C26
secondary
#625FBF
accent
#44E449
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989C26

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

Preview Lab → · Contrast checker → · Palette generator →

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