#989F1D#989F1D

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

Color values

HEX#989F1D
RGBrgb(152, 159, 29)
HSLhsl(63, 69%, 37%)
HSVhsv(63, 82%, 62%)
CMYKcmyk(4.4%, 0%, 81.8%, 37.6%)
CIE-LABlab(62.98, -17.65, 60.46)
CIE-LCHlch(62.98, 62.98, 106.27°)
OKLaboklab(67.48% -0.0553 0.131)
OKLCHoklch(67.48% 0.142 112.9)
XYZxyz(25.5697, 31.5610, 5.9071)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F1D #241D9F
analogous
#9F651D #989F1D #579F1D
triadic
#989F1D #1D989F #9F1D98
tetradic
#989F1D #1D9F65 #241D9F #9F1D57
square
#989F1D #1D9F65 #241D9F #9F1D57
split-complementary
#989F1D #1D579F #651D9F
monochromatic
#35370A #676B14 #989F1D #C9D326 #D9E056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989F1D#FFFFFF#000000##000000
##989F1D1.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)
#AC9A2A
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f1d;
/* rgb */ color: rgb(152, 159, 29);
/* oklch */ color: oklch(67.5% 0.142 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb67',
    500: '#989f1d',
    950: '#000000',
  },
}
SCSS
$custom: #989f1d;
$custom-light: #babb67;
$custom-dark: #000000;
JSON
{
  "hex": "#989f1d",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 63.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67481,
    "c": 0.14217,
    "h": 112.9
  },
  "luminance": 0.3156
}

Semantic roles & 50–950 ramp

primary
#989F1D
secondary
#5A54C4
accent
#3CEC45
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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