#989B1F#989B1F

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

Color values

HEX#989B1F
RGBrgb(152, 155, 31)
HSLhsl(61, 67%, 36%)
HSVhsv(61, 80%, 61%)
CMYKcmyk(1.9%, 0%, 80%, 39.2%)
CIE-LABlab(61.84, -15.51, 58.89)
CIE-LCHlch(61.84, 60.90, 104.76°)
OKLaboklab(66.57% -0.0493 0.128)
OKLCHoklch(66.57% 0.137 111.1)
XYZxyz(24.9185, 30.2177, 5.8160)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B1F #221F9B
analogous
#9B601F #989B1F #5A9B1F
triadic
#989B1F #1F989B #9B1F98
tetradic
#989B1F #1F9B60 #221F9B #9B1F5A
square
#989B1F #1F9B60 #221F9B #9B1F5A
split-complementary
#989B1F #1F5A9B #601F9B
monochromatic
#34350B #666815 #989B1F #CACE29 #DADD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989B1F#FFFFFF#000000##000000
##989B1F1.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: #989b1f;
/* rgb */ color: rgb(152, 155, 31);
/* oklch */ color: oklch(66.6% 0.137 111.1);
Tailwind
colors: {
  custom: {
    50: '#bab867',
    500: '#989b1f',
    950: '#000000',
  },
}
SCSS
$custom: #989b1f;
$custom-light: #bab867;
$custom-dark: #000000;
JSON
{
  "hex": "#989b1f",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 61.452,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66573,
    "c": 0.13712,
    "h": 111.1
  },
  "luminance": 0.30217
}

Semantic roles & 50–950 ramp

primary
#989B1F
secondary
#5755C1
accent
#3EEA42
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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