#989F1F#989F1F

#989F1F is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.141 H 112.9°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#989F1F
RGBrgb(152, 159, 31)
HSLhsl(63, 67%, 37%)
HSVhsv(63, 81%, 62%)
CMYKcmyk(4.4%, 0%, 80.5%, 37.6%)
CIE-LABlab(62.99, -17.58, 59.90)
CIE-LCHlch(62.99, 62.43, 106.36°)
OKLaboklab(67.49% -0.055 0.1301)
OKLCHoklch(67.49% 0.141 112.9)
XYZxyz(25.5952, 31.5712, 6.0416)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F1F #261F9F
analogous
#9F661F #989F1F #589F1F
triadic
#989F1F #1F989F #9F1F98
tetradic
#989F1F #1F9F66 #261F9F #9F1F58
square
#989F1F #1F9F66 #261F9F #9F1F58
split-complementary
#989F1F #1F589F #661F9F
monochromatic
#36390B #676C15 #989F1F #C9D229 #D7DF5A

Accessibility & contrast

On white

2.87
#989F1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#989F1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F1F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F1F#FFFFFF#000000##000000
##989F1F1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f1f;
/* rgb */ color: rgb(152, 159, 31);
/* oklch */ color: oklch(67.5% 0.141 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb67',
    500: '#989f1f',
    950: '#000000',
  },
}
SCSS
$custom: #989f1f;
$custom-light: #babb67;
$custom-dark: #000000;
JSON
{
  "hex": "#989f1f",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 63.281,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67491,
    "c": 0.14128,
    "h": 112.9
  },
  "luminance": 0.31571
}

Semantic roles & 50–950 ramp

primary
#989F1F
secondary
#5D57C3
accent
#3EEA47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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