#989C23#989C23

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

Color values

HEX#989C23
RGBrgb(152, 156, 35)
HSLhsl(62, 63%, 37%)
HSVhsv(62, 78%, 61%)
CMYKcmyk(2.6%, 0%, 77.6%, 38.8%)
CIE-LABlab(62.15, -15.88, 57.93)
CIE-LCHlch(62.15, 60.07, 105.33°)
OKLaboklab(66.82% -0.0499 0.1267)
OKLCHoklch(66.82% 0.136 111.5)
XYZxyz(25.1416, 30.5743, 6.1668)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C23 #27239C
analogous
#9C6323 #989C23 #5C9C23
triadic
#989C23 #23989C #9C2398
tetradic
#989C23 #239C63 #27239C #9C235C
square
#989C23 #239C63 #27239C #9C235C
split-complementary
#989C23 #235C9C #63239C
monochromatic
#37380D #676A18 #989C23 #C9CE2E #D7DB5E

Accessibility & contrast

On white

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

On black

7.11
#989C23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C23
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C23#FFFFFF#000000##000000
##989C231.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99502
Deuteranopia (green-blind)
#A9982E
Tritanopia (blue-blind)
#A39285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c23;
/* rgb */ color: rgb(152, 156, 35);
/* oklch */ color: oklch(66.8% 0.136 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab969',
    500: '#989c23',
    950: '#000000',
  },
}
SCSS
$custom: #989c23;
$custom-light: #bab969;
$custom-dark: #000000;
JSON
{
  "hex": "#989c23",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 61.983,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66824,
    "c": 0.13615,
    "h": 111.5
  },
  "luminance": 0.30574
}

Semantic roles & 50–950 ramp

primary
#989C23
secondary
#5E5BC0
accent
#41E647
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989C23

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

Preview Lab → · Contrast checker → · Palette generator →

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