#989D2E#989D2E

#989D2E is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.1% C 0.131 H 112.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#989D2E
RGBrgb(152, 157, 46)
HSLhsl(63, 55%, 40%)
HSVhsv(63, 71%, 62%)
CMYKcmyk(3.2%, 0%, 70.7%, 38.4%)
CIE-LABlab(62.50, -15.87, 54.38)
CIE-LCHlch(62.50, 56.65, 106.27°)
OKLaboklab(67.12% -0.0489 0.1212)
OKLCHoklch(67.12% 0.131 112)
XYZxyz(25.4998, 30.9872, 7.2221)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D2E #332E9D
analogous
#9D6B2E #989D2E #609D2E
triadic
#989D2E #2E989D #9D2E98
tetradic
#989D2E #2E9D6B #332E9D #9D2E60
square
#989D2E #2E9D6B #332E9D #9D2E60
split-complementary
#989D2E #2E609D #6B2E9D
monochromatic
#3C3E12 #6A6E20 #989D2E #C1C741 #D1D570

Accessibility & contrast

On white

2.92
#989D2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#989D2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D2E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D2E#FFFFFF#000000##000000
##989D2E1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#A29387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d2e;
/* rgb */ color: rgb(152, 157, 46);
/* oklch */ color: oklch(67.1% 0.131 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96e',
    500: '#989d2e',
    950: '#000000',
  },
}
SCSS
$custom: #989d2e;
$custom-light: #b9b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#989d2e",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 62.703,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67124,
    "c": 0.13065,
    "h": 112
  },
  "luminance": 0.30987
}

Semantic roles & 50–950 ramp

primary
#989D2E
secondary
#6E6ABD
accent
#4ADE50
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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