#989D1F#989D1F

#989D1F is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.139 H 112.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#989D1F
RGBrgb(152, 157, 31)
HSLhsl(62, 67%, 37%)
HSVhsv(62, 80%, 62%)
CMYKcmyk(3.2%, 0%, 80.3%, 38.4%)
CIE-LABlab(62.41, -16.55, 59.39)
CIE-LCHlch(62.41, 61.66, 105.57°)
OKLaboklab(67.03% -0.0521 0.1291)
OKLCHoklch(67.03% 0.139 112)
XYZxyz(25.2541, 30.8889, 5.9279)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D1F #241F9D
analogous
#9D631F #989D1F #599D1F
triadic
#989D1F #1F989D #9D1F98
tetradic
#989D1F #1F9D63 #241F9D #9D1F59
square
#989D1F #1F9D63 #241F9D #9D1F59
split-complementary
#989D1F #1F599D #631F9D
monochromatic
#35370B #676A15 #989D1F #C9D029 #D9DE58

Accessibility & contrast

On white

2.93
#989D1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#989D1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D1F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D1F#FFFFFF#000000##000000
##989D1F1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA982B
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d1f;
/* rgb */ color: rgb(152, 157, 31);
/* oklch */ color: oklch(67.0% 0.139 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab967',
    500: '#989d1f',
    950: '#000000',
  },
}
SCSS
$custom: #989d1f;
$custom-light: #bab967;
$custom-dark: #000000;
JSON
{
  "hex": "#989d1f",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 62.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67031,
    "c": 0.13919,
    "h": 112
  },
  "luminance": 0.30888
}

Semantic roles & 50–950 ramp

primary
#989D1F
secondary
#5A56C2
accent
#3EEA45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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