#989730#989730

#989730 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.8% C 0.123 H 108.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#989730
RGBrgb(152, 151, 48)
HSLhsl(59, 52%, 39%)
HSVhsv(59, 68%, 60%)
CMYKcmyk(0%, 0.7%, 68.4%, 40.4%)
CIE-LABlab(60.80, -12.62, 51.90)
CIE-LCHlch(60.80, 53.41, 103.66°)
OKLaboklab(65.77% -0.0396 0.1163)
OKLCHoklch(65.77% 0.123 108.8)
XYZxyz(24.5499, 29.0228, 7.1045)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989730 #303198
analogous
#986330 #989730 #659830
triadic
#989730 #309897 #973098
tetradic
#989730 #309863 #303198 #983065
square
#989730 #309863 #303198 #983065
split-complementary
#989730 #306598 #633098
monochromatic
#3B3B13 #696921 #989730 #C3C242 #D2D170

Accessibility & contrast

On white

3.09
#989730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#989730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989730
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989730#FFFFFF#000000##000000
##9897301.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39121
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#A38D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #989730;
/* rgb */ color: rgb(152, 151, 48);
/* oklch */ color: oklch(65.8% 0.123 108.8);
Tailwind
colors: {
  custom: {
    50: '#b9b56f',
    500: '#989730',
    950: '#000000',
  },
}
SCSS
$custom: #989730;
$custom-light: #b9b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#989730",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 59.423,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65774,
    "c": 0.12283,
    "h": 108.8
  },
  "luminance": 0.29022
}

Semantic roles & 50–950 ramp

primary
#989730
secondary
#6A6BBA
accent
#4EDB4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989730

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

Preview Lab → · Contrast checker → · Palette generator →

#989730 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva