#989E2D#989E2D

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

Color values

HEX#989E2D
RGBrgb(152, 158, 45)
HSLhsl(63, 56%, 40%)
HSVhsv(63, 72%, 62%)
CMYKcmyk(3.8%, 0%, 71.5%, 38%)
CIE-LABlab(62.78, -16.44, 55.03)
CIE-LCHlch(62.78, 57.44, 106.63°)
OKLaboklab(67.35% -0.0506 0.1224)
OKLCHoklch(67.35% 0.132 112.5)
XYZxyz(25.6502, 31.3192, 7.1761)
Luminance0.3132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E2D #332D9E
analogous
#9E6C2D #989E2D #5F9E2D
triadic
#989E2D #2D989E #9E2D98
tetradic
#989E2D #2D9E6C #332D9E #9E2D5F
square
#989E2D #2D9E6C #332D9E #9E2D5F
split-complementary
#989E2D #2D5F9E #6C2D9E
monochromatic
#3C3F12 #6A6E1F #989E2D #C1C940 #D1D66F

Accessibility & contrast

On white

2.89
#989E2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#989E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E2D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E2D#FFFFFF#000000##000000
##989E2D1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9719
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e2d;
/* rgb */ color: rgb(152, 158, 45);
/* oklch */ color: oklch(67.3% 0.132 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9ba6e',
    500: '#989e2d',
    950: '#000000',
  },
}
SCSS
$custom: #989e2d;
$custom-light: #b9ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#989e2d",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 63.186,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67346,
    "c": 0.13241,
    "h": 112.5
  },
  "luminance": 0.31319
}

Semantic roles & 50–950 ramp

primary
#989E2D
secondary
#6E69BD
accent
#49DF51
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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