#989D1D#989D1D

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

Color values

HEX#989D1D
RGBrgb(152, 157, 29)
HSLhsl(62, 69%, 36%)
HSVhsv(62, 82%, 62%)
CMYKcmyk(3.2%, 0%, 81.5%, 38.4%)
CIE-LABlab(62.41, -16.62, 59.96)
CIE-LCHlch(62.41, 62.22, 105.49°)
OKLaboklab(67.02% -0.0525 0.1299)
OKLCHoklch(67.02% 0.14 112)
XYZxyz(25.2285, 30.8787, 5.7934)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D1D #221D9D
analogous
#9D621D #989D1D #589D1D
triadic
#989D1D #1D989D #9D1D98
tetradic
#989D1D #1D9D62 #221D9D #9D1D58
square
#989D1D #1D9D62 #221D9D #9D1D58
split-complementary
#989D1D #1D589D #621D9D
monochromatic
#34360A #666913 #989D1D #CAD127 #DAE055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989D1D#FFFFFF#000000##000000
##989D1D1.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)
#AA982A
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d1d;
/* rgb */ color: rgb(152, 157, 29);
/* oklch */ color: oklch(67.0% 0.140 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab966',
    500: '#989d1d',
    950: '#000000',
  },
}
SCSS
$custom: #989d1d;
$custom-light: #bab966;
$custom-dark: #000000;
JSON
{
  "hex": "#989d1d",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 62.344,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.67022,
    "c": 0.1401,
    "h": 112
  },
  "luminance": 0.30878
}

Semantic roles & 50–950 ramp

primary
#989D1D
secondary
#5753C3
accent
#3CEC43
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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