#989E23#989E23

#989E23 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.3% C 0.138 H 112.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#989E23
RGBrgb(152, 158, 35)
HSLhsl(63, 64%, 38%)
HSVhsv(63, 78%, 62%)
CMYKcmyk(3.8%, 0%, 77.8%, 38%)
CIE-LABlab(62.72, -16.91, 58.45)
CIE-LCHlch(62.72, 60.85, 106.14°)
OKLaboklab(67.28% -0.0528 0.1278)
OKLCHoklch(67.28% 0.138 112.5)
XYZxyz(25.4800, 31.2511, 6.2796)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E23 #29239E
analogous
#9E6723 #989E23 #5A9E23
triadic
#989E23 #23989E #9E2398
tetradic
#989E23 #239E67 #29239E #9E235A
square
#989E23 #239E67 #29239E #9E235A
split-complementary
#989E23 #235A9E #67239E
monochromatic
#383A0D #686C18 #989E23 #C8D02E #D6DC60

Accessibility & contrast

On white

2.90
#989E23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#989E23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E23
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E23#FFFFFF#000000##000000
##989E231.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e23;
/* rgb */ color: rgb(152, 158, 35);
/* oklch */ color: oklch(67.3% 0.138 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba69',
    500: '#989e23',
    950: '#000000',
  },
}
SCSS
$custom: #989e23;
$custom-light: #baba69;
$custom-dark: #000000;
JSON
{
  "hex": "#989e23",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 62.927,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67282,
    "c": 0.13826,
    "h": 112.5
  },
  "luminance": 0.3125
}

Semantic roles & 50–950 ramp

primary
#989E23
secondary
#615CC1
accent
#41E749
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989E23

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

Preview Lab → · Contrast checker → · Palette generator →

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