#989B1E#989B1E

#989B1E is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.138 H 111.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#989B1E
RGBrgb(152, 155, 30)
HSLhsl(61, 68%, 36%)
HSVhsv(61, 81%, 61%)
CMYKcmyk(1.9%, 0%, 80.6%, 39.2%)
CIE-LABlab(61.84, -15.55, 59.18)
CIE-LCHlch(61.84, 61.19, 104.72°)
OKLaboklab(66.57% -0.0494 0.1284)
OKLCHoklch(66.57% 0.138 111.1)
XYZxyz(24.9055, 30.2125, 5.7477)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B1E #211E9B
analogous
#9B601E #989B1E #5A9B1E
triadic
#989B1E #1E989B #9B1E98
tetradic
#989B1E #1E9B60 #211E9B #9B1E5A
square
#989B1E #1E9B60 #211E9B #9B1E5A
split-complementary
#989B1E #1E5A9B #601E9B
monochromatic
#33340A #666814 #989B1E #CACE28 #DBDE55

Accessibility & contrast

On white

2.98
#989B1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#989B1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B1E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B1E#FFFFFF#000000##000000
##989B1E1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A9972A
Tritanopia (blue-blind)
#A39184
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989b1e;
/* rgb */ color: rgb(152, 155, 30);
/* oklch */ color: oklch(66.6% 0.138 111.1);
Tailwind
colors: {
  custom: {
    50: '#bab866',
    500: '#989b1e',
    950: '#000000',
  },
}
SCSS
$custom: #989b1e;
$custom-light: #bab866;
$custom-dark: #000000;
JSON
{
  "hex": "#989b1e",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 61.44,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66568,
    "c": 0.13758,
    "h": 111.1
  },
  "luminance": 0.30212
}

Semantic roles & 50–950 ramp

primary
#989B1E
secondary
#5653C2
accent
#3DEA42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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