#989D23#989D23

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

Color values

HEX#989D23
RGBrgb(152, 157, 35)
HSLhsl(62, 64%, 38%)
HSVhsv(62, 78%, 62%)
CMYKcmyk(3.2%, 0%, 77.7%, 38.4%)
CIE-LABlab(62.43, -16.39, 58.19)
CIE-LCHlch(62.43, 60.46, 105.73°)
OKLaboklab(67.05% -0.0514 0.1272)
OKLCHoklch(67.05% 0.137 112)
XYZxyz(25.3101, 30.9113, 6.2230)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D23 #28239D
analogous
#9D6523 #989D23 #5B9D23
triadic
#989D23 #23989D #9D2398
tetradic
#989D23 #239D65 #28239D #9D235B
square
#989D23 #239D65 #28239D #9D235B
split-complementary
#989D23 #235B9D #65239D
monochromatic
#37390D #686B18 #989D23 #C8CF2E #D6DB5F

Accessibility & contrast

On white

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

On black

7.18
#989D23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D23
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D23#FFFFFF#000000##000000
##989D231.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99501
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d23;
/* rgb */ color: rgb(152, 157, 35);
/* oklch */ color: oklch(67.1% 0.137 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab969',
    500: '#989d23',
    950: '#000000',
  },
}
SCSS
$custom: #989d23;
$custom-light: #bab969;
$custom-dark: #000000;
JSON
{
  "hex": "#989d23",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 62.459,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67053,
    "c": 0.1372,
    "h": 112
  },
  "luminance": 0.30911
}

Semantic roles & 50–950 ramp

primary
#989D23
secondary
#605CC0
accent
#41E748
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989D23

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

Preview Lab → · Contrast checker → · Palette generator →

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