#989C27#989C27

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

Color values

HEX#989C27
RGBrgb(152, 156, 39)
HSLhsl(62, 60%, 38%)
HSVhsv(62, 75%, 61%)
CMYKcmyk(2.6%, 0%, 75%, 38.8%)
CIE-LABlab(62.17, -15.70, 56.62)
CIE-LCHlch(62.17, 58.75, 105.50°)
OKLaboklab(66.85% -0.0491 0.1246)
OKLCHoklch(66.85% 0.134 111.5)
XYZxyz(25.2044, 30.5995, 6.4976)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C27 #2B279C
analogous
#9C6527 #989C27 #5D9C27
triadic
#989C27 #27989C #9C2798
tetradic
#989C27 #279C65 #2B279C #9C275D
square
#989C27 #279C65 #2B279C #9C275D
split-complementary
#989C27 #275D9C #65279C
monochromatic
#393A0F #686B1B #989C27 #C7CC34 #D5D865

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989C27#FFFFFF#000000##000000
##989C271.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)
#A8950D
Deuteranopia (green-blind)
#A99831
Tritanopia (blue-blind)
#A39286
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c27;
/* rgb */ color: rgb(152, 156, 39);
/* oklch */ color: oklch(66.8% 0.134 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab96b',
    500: '#989c27',
    950: '#000000',
  },
}
SCSS
$custom: #989c27;
$custom-light: #bab96b;
$custom-dark: #000000;
JSON
{
  "hex": "#989c27",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 62.051,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66848,
    "c": 0.13394,
    "h": 111.5
  },
  "luminance": 0.30599
}

Semantic roles & 50–950 ramp

primary
#989C27
secondary
#6461BE
accent
#45E34A
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989C27

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

Preview Lab → · Contrast checker → · Palette generator →

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