#989F1B#989F1B

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

Color values

HEX#989F1B
RGBrgb(152, 159, 27)
HSLhsl(63, 71%, 36%)
HSVhsv(63, 83%, 62%)
CMYKcmyk(4.4%, 0%, 83%, 37.6%)
CIE-LABlab(62.97, -17.72, 60.99)
CIE-LCHlch(62.97, 63.51, 106.20°)
OKLaboklab(67.47% -0.0557 0.1318)
OKLCHoklch(67.47% 0.143 112.9)
XYZxyz(25.5457, 31.5514, 5.7810)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F1B #221B9F
analogous
#9F641B #989F1B #569F1B
triadic
#989F1B #1B989F #9F1B98
tetradic
#989F1B #1B9F64 #221B9F #9F1B56
square
#989F1B #1B9F64 #221B9F #9F1B56
split-complementary
#989F1B #1B569F #641B9F
monochromatic
#343609 #666B12 #989F1B #CAD324 #DAE253

Accessibility & contrast

On white

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

On black

7.31
#989F1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F1B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F1B#FFFFFF#000000##000000
##989F1B1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989f1b;
/* rgb */ color: rgb(152, 159, 27);
/* oklch */ color: oklch(67.5% 0.143 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb66',
    500: '#989f1b',
    950: '#000000',
  },
}
SCSS
$custom: #989f1b;
$custom-light: #babb66;
$custom-dark: #000000;
JSON
{
  "hex": "#989f1b",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 63.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.14303,
    "h": 112.9
  },
  "luminance": 0.31551
}

Semantic roles & 50–950 ramp

primary
#989F1B
secondary
#5751C5
accent
#3AEE44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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