#989D1E#989D1E

#989D1E 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#989D1E
RGBrgb(152, 157, 30)
HSLhsl(62, 68%, 37%)
HSVhsv(62, 81%, 62%)
CMYKcmyk(3.2%, 0%, 80.9%, 38.4%)
CIE-LABlab(62.41, -16.59, 59.68)
CIE-LCHlch(62.41, 61.94, 105.53°)
OKLaboklab(67.03% -0.0523 0.1295)
OKLCHoklch(67.03% 0.14 112)
XYZxyz(25.2411, 30.8837, 5.8596)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D1E #231E9D
analogous
#9D631E #989D1E #599D1E
triadic
#989D1E #1E989D #9D1E98
tetradic
#989D1E #1E9D63 #231E9D #9D1E59
square
#989D1E #1E9D63 #231E9D #9D1E59
split-complementary
#989D1E #1E599D #631E9D
monochromatic
#35360A #666A14 #989D1E #CAD028 #D9DF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989D1E#FFFFFF#000000##000000
##989D1E1.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: #989d1e;
/* rgb */ color: rgb(152, 157, 30);
/* oklch */ color: oklch(67.0% 0.140 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab967',
    500: '#989d1e',
    950: '#000000',
  },
}
SCSS
$custom: #989d1e;
$custom-light: #bab967;
$custom-dark: #000000;
JSON
{
  "hex": "#989d1e",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 62.362,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67026,
    "c": 0.13964,
    "h": 112
  },
  "luminance": 0.30883
}

Semantic roles & 50–950 ramp

primary
#989D1E
secondary
#5954C2
accent
#3DEB44
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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