#989C1B#989C1B

#989C1B is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.8% C 0.140 H 111.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#989C1B
RGBrgb(152, 156, 27)
HSLhsl(62, 70%, 36%)
HSVhsv(62, 83%, 61%)
CMYKcmyk(2.6%, 0%, 82.7%, 38.8%)
CIE-LABlab(62.11, -16.17, 60.25)
CIE-LCHlch(62.11, 62.38, 105.02°)
OKLaboklab(66.78% -0.0514 0.1301)
OKLCHoklch(66.78% 0.14 111.5)
XYZxyz(25.0361, 30.5321, 5.6112)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C1B #1F1B9C
analogous
#9C5F1B #989C1B #589C1B
triadic
#989C1B #1B989C #9C1B98
tetradic
#989C1B #1B9C5F #1F1B9C #9C1B58
square
#989C1B #1B9C5F #1F1B9C #9C1B58
split-complementary
#989C1B #1B589C #5F1B9C
monochromatic
#323409 #656812 #989C1B #CBD024 #DCE151

Accessibility & contrast

On white

2.96
#989C1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#989C1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C1B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C1B#FFFFFF#000000##000000
##989C1B1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A99828
Tritanopia (blue-blind)
#A39285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c1b;
/* rgb */ color: rgb(152, 156, 27);
/* oklch */ color: oklch(66.8% 0.140 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab965',
    500: '#989c1b',
    950: '#000000',
  },
}
SCSS
$custom: #989c1b;
$custom-light: #bab965;
$custom-dark: #000000;
JSON
{
  "hex": "#989c1b",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 27
  },
  "hsl": {
    "h": 61.86,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66783,
    "c": 0.13993,
    "h": 111.5
  },
  "luminance": 0.30531
}

Semantic roles & 50–950 ramp

primary
#989C1B
secondary
#534FC3
accent
#3BED40
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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