#989C1F#989C1F

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

Color values

HEX#989C1F
RGBrgb(152, 156, 31)
HSLhsl(62, 67%, 37%)
HSVhsv(62, 80%, 61%)
CMYKcmyk(2.6%, 0%, 80.1%, 38.8%)
CIE-LABlab(62.13, -16.03, 59.14)
CIE-LCHlch(62.13, 61.28, 105.17°)
OKLaboklab(66.8% -0.0507 0.1285)
OKLCHoklch(66.8% 0.138 111.5)
XYZxyz(25.0856, 30.5519, 5.8717)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C1F #231F9C
analogous
#9C621F #989C1F #5A9C1F
triadic
#989C1F #1F989C #9C1F98
tetradic
#989C1F #1F9C62 #231F9C #9C1F5A
square
#989C1F #1F9C62 #231F9C #9C1F5A
split-complementary
#989C1F #1F5A9C #621F9C
monochromatic
#35360B #666915 #989C1F #CACF29 #D9DE58

Accessibility & contrast

On white

2.95
#989C1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##989C1F#FFFFFF#000000##000000
##989C1F1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989c1f;
/* rgb */ color: rgb(152, 156, 31);
/* oklch */ color: oklch(66.8% 0.138 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab967',
    500: '#989c1f',
    950: '#000000',
  },
}
SCSS
$custom: #989c1f;
$custom-light: #bab967;
$custom-dark: #000000;
JSON
{
  "hex": "#989c1f",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 61.92,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.13814,
    "h": 111.5
  },
  "luminance": 0.30551
}

Semantic roles & 50–950 ramp

primary
#989C1F
secondary
#5955C1
accent
#3EEA44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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