#989B23#989B23

#989B23 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.135 H 111.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#989B23
RGBrgb(152, 155, 35)
HSLhsl(62, 63%, 37%)
HSVhsv(62, 77%, 61%)
CMYKcmyk(1.9%, 0%, 77.4%, 39.2%)
CIE-LABlab(61.86, -15.36, 57.67)
CIE-LCHlch(61.86, 59.68, 104.91°)
OKLaboklab(66.6% -0.0485 0.1261)
OKLCHoklch(66.6% 0.135 111)
XYZxyz(24.9745, 30.2401, 6.1111)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B23 #26239B
analogous
#9B6223 #989B23 #5C9B23
triadic
#989B23 #23989B #9B2398
tetradic
#989B23 #239B62 #26239B #9B235C
square
#989B23 #239B62 #26239B #9B235C
split-complementary
#989B23 #235C9B #62239B
monochromatic
#36370C #676918 #989B23 #C9CD2E #D7DB5E

Accessibility & contrast

On white

2.98
#989B23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#989B23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B23
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B23#FFFFFF#000000##000000
##989B231.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89402
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989b23;
/* rgb */ color: rgb(152, 155, 35);
/* oklch */ color: oklch(66.6% 0.135 111.0);
Tailwind
colors: {
  custom: {
    50: '#bab869',
    500: '#989b23',
    950: '#000000',
  },
}
SCSS
$custom: #989b23;
$custom-light: #bab869;
$custom-dark: #000000;
JSON
{
  "hex": "#989b23",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 61.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66595,
    "c": 0.13511,
    "h": 111
  },
  "luminance": 0.30239
}

Semantic roles & 50–950 ramp

primary
#989B23
secondary
#5D5ABF
accent
#42E646
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989B23

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

Preview Lab → · Contrast checker → · Palette generator →

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