#989E1D#989E1D

#989E1D is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.141 H 112.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#989E1D
RGBrgb(152, 158, 29)
HSLhsl(63, 69%, 37%)
HSVhsv(63, 82%, 62%)
CMYKcmyk(3.8%, 0%, 81.6%, 38%)
CIE-LABlab(62.69, -17.14, 60.21)
CIE-LCHlch(62.69, 62.60, 105.89°)
OKLaboklab(67.25% -0.0539 0.1304)
OKLCHoklch(67.25% 0.141 112.5)
XYZxyz(25.3984, 31.2185, 5.8500)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E1D #231D9E
analogous
#9E641D #989E1D #589E1D
triadic
#989E1D #1D989E #9E1D98
tetradic
#989E1D #1D9E64 #231D9E #9E1D58
square
#989E1D #1D9E64 #231D9E #9E1D58
split-complementary
#989E1D #1D589E #641D9E
monochromatic
#35370A #666A14 #989E1D #CAD226 #D9E056

Accessibility & contrast

On white

2.90
#989E1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#989E1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E1D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E1D#FFFFFF#000000##000000
##989E1D1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e1d;
/* rgb */ color: rgb(152, 158, 29);
/* oklch */ color: oklch(67.3% 0.141 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba66',
    500: '#989e1d',
    950: '#000000',
  },
}
SCSS
$custom: #989e1d;
$custom-light: #baba66;
$custom-dark: #000000;
JSON
{
  "hex": "#989e1d",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 62.791,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67251,
    "c": 0.14114,
    "h": 112.5
  },
  "luminance": 0.31218
}

Semantic roles & 50–950 ramp

primary
#989E1D
secondary
#5954C3
accent
#3CEC44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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