#989A23#989A23

#989A23 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.134 H 110.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#989A23
RGBrgb(152, 154, 35)
HSLhsl(61, 63%, 37%)
HSVhsv(61, 77%, 60%)
CMYKcmyk(1.3%, 0%, 77.3%, 39.6%)
CIE-LABlab(61.58, -14.84, 57.41)
CIE-LCHlch(61.58, 59.29, 104.49°)
OKLaboklab(66.37% -0.0471 0.1256)
OKLCHoklch(66.37% 0.134 110.5)
XYZxyz(24.8088, 29.9087, 6.0559)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A23 #25239A
analogous
#9A6023 #989A23 #5D9A23
triadic
#989A23 #23989A #9A2398
tetradic
#989A23 #239A60 #25239A #9A235D
square
#989A23 #239A60 #25239A #9A235D
split-complementary
#989A23 #235D9A #60239A
monochromatic
#36360C #676818 #989A23 #C9CC2E #D8DA5D

Accessibility & contrast

On white

3.01
#989A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#989A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A23
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A23#FFFFFF#000000##000000
##989A231.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79303
Deuteranopia (green-blind)
#A8962D
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a23;
/* rgb */ color: rgb(152, 154, 35);
/* oklch */ color: oklch(66.4% 0.134 110.5);
Tailwind
colors: {
  custom: {
    50: '#bab768',
    500: '#989a23',
    950: '#000000',
  },
}
SCSS
$custom: #989a23;
$custom-light: #bab768;
$custom-dark: #000000;
JSON
{
  "hex": "#989a23",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 61.008,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66367,
    "c": 0.13408,
    "h": 110.5
  },
  "luminance": 0.29908
}

Semantic roles & 50–950 ramp

primary
#989A23
secondary
#5C5ABF
accent
#42E645
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989A23

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

Preview Lab → · Contrast checker → · Palette generator →

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