#989F23#989F23

#989F23 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.139 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#989F23
RGBrgb(152, 159, 35)
HSLhsl(63, 64%, 38%)
HSVhsv(63, 78%, 62%)
CMYKcmyk(4.4%, 0%, 78%, 37.6%)
CIE-LABlab(63.01, -17.42, 58.71)
CIE-LCHlch(63.01, 61.24, 106.53°)
OKLaboklab(67.51% -0.0542 0.1283)
OKLCHoklch(67.51% 0.139 112.9)
XYZxyz(25.6512, 31.5936, 6.3367)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F23 #2A239F
analogous
#9F6823 #989F23 #5A9F23
triadic
#989F23 #23989F #9F2398
tetradic
#989F23 #239F68 #2A239F #9F235A
square
#989F23 #239F68 #2A239F #9F235A
split-complementary
#989F23 #235A9F #68239F
monochromatic
#383B0D #686D18 #989F23 #C8D12E #D5DC60

Accessibility & contrast

On white

2.87
#989F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#989F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F23
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F23#FFFFFF#000000##000000
##989F231.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f23;
/* rgb */ color: rgb(152, 159, 35);
/* oklch */ color: oklch(67.5% 0.139 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb69',
    500: '#989f23',
    950: '#000000',
  },
}
SCSS
$custom: #989f23;
$custom-light: #babb69;
$custom-dark: #000000;
JSON
{
  "hex": "#989f23",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 63.387,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67511,
    "c": 0.13932,
    "h": 112.9
  },
  "luminance": 0.31593
}

Semantic roles & 50–950 ramp

primary
#989F23
secondary
#625DC1
accent
#41E74A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989F23

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

Preview Lab → · Contrast checker → · Palette generator →

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