#989E45#989E45

#989E45 is a light, moderate yellow. Relative luminance 0.316; OKLCH L 67.6% C 0.113 H 112.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#989E45
RGBrgb(152, 158, 69)
HSLhsl(64, 39%, 45%)
HSVhsv(64, 56%, 62%)
CMYKcmyk(3.8%, 0%, 56.3%, 38%)
CIE-LABlab(62.98, -14.80, 44.93)
CIE-LCHlch(62.98, 47.30, 108.24°)
OKLaboklab(67.57% -0.0435 0.1045)
OKLCHoklch(67.57% 0.113 112.6)
XYZxyz(26.2505, 31.5593, 10.3378)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E45 #4B459E
analogous
#9E7845 #989E45 #6C9E45
triadic
#989E45 #45989E #9E4598
tetradic
#989E45 #459E78 #4B459E #9E456C
square
#989E45 #459E78 #4B459E #9E456C
split-complementary
#989E45 #456C9E #78459E
monochromatic
#464920 #6F7332 #989E45 #B6BC65 #CACE8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989E45#FFFFFF#000000##000000
##989E451.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)
#A9973C
Deuteranopia (green-blind)
#A9994A
Tritanopia (blue-blind)
#A1958A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e45;
/* rgb */ color: rgb(152, 158, 69);
/* oklch */ color: oklch(67.6% 0.113 112.6);
Tailwind
colors: {
  custom: {
    50: '#b8ba7c',
    500: '#989e45',
    950: '#000000',
  },
}
SCSS
$custom: #989e45;
$custom-light: #b8ba7c;
$custom-dark: #000000;
JSON
{
  "hex": "#989e45",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 69
  },
  "hsl": {
    "h": 64.045,
    "s": 39.207,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67571,
    "c": 0.11319,
    "h": 112.6
  },
  "luminance": 0.31559
}

Semantic roles & 50–950 ramp

primary
#989E45
secondary
#8985BA
accent
#59CF61
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #989E45

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

Preview Lab → · Contrast checker → · Palette generator →

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