#989E1B#989E1B

#989E1B is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.142 H 112.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#989E1B
RGBrgb(152, 158, 27)
HSLhsl(63, 71%, 36%)
HSVhsv(63, 83%, 62%)
CMYKcmyk(3.8%, 0%, 82.9%, 38%)
CIE-LABlab(62.68, -17.20, 60.74)
CIE-LCHlch(62.68, 63.13, 105.81°)
OKLaboklab(67.24% -0.0542 0.1312)
OKLCHoklch(67.24% 0.142 112.5)
XYZxyz(25.3745, 31.2089, 5.7240)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E1B #211B9E
analogous
#9E631B #989E1B #579E1B
triadic
#989E1B #1B989E #9E1B98
tetradic
#989E1B #1B9E63 #211B9E #9E1B57
square
#989E1B #1B9E63 #211B9E #9E1B57
split-complementary
#989E1B #1B579E #631B9E
monochromatic
#333509 #666A12 #989E1B #CAD224 #DBE152

Accessibility & contrast

On white

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

On black

7.24
#989E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E1B
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E1B#FFFFFF#000000##000000
##989E1B1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989e1b;
/* rgb */ color: rgb(152, 158, 27);
/* oklch */ color: oklch(67.2% 0.142 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba66',
    500: '#989e1b',
    950: '#000000',
  },
}
SCSS
$custom: #989e1b;
$custom-light: #baba66;
$custom-dark: #000000;
JSON
{
  "hex": "#989e1b",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 62.748,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.14198,
    "h": 112.5
  },
  "luminance": 0.31208
}

Semantic roles & 50–950 ramp

primary
#989E1B
secondary
#5651C4
accent
#3AEE42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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