#989F2D#989F2D

#989F2D is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.6% C 0.134 H 112.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#989F2D
RGBrgb(152, 159, 45)
HSLhsl(64, 56%, 40%)
HSVhsv(64, 72%, 62%)
CMYKcmyk(4.4%, 0%, 71.7%, 37.6%)
CIE-LABlab(63.06, -16.96, 55.31)
CIE-LCHlch(63.06, 57.85, 107.04°)
OKLaboklab(67.58% -0.052 0.1229)
OKLCHoklch(67.58% 0.134 112.9)
XYZxyz(25.8215, 31.6617, 7.2332)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F2D #342D9F
analogous
#9F6D2D #989F2D #5F9F2D
triadic
#989F2D #2D989F #9F2D98
tetradic
#989F2D #2D9F6D #342D9F #9F2D5F
square
#989F2D #2D9F6D #342D9F #9F2D5F
split-complementary
#989F2D #2D5F9F #6D2D9F
monochromatic
#3D4012 #6A6F20 #989F2D #C1C940 #D0D670

Accessibility & contrast

On white

2.86
#989F2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#989F2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F2D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F2D#FFFFFF#000000##000000
##989F2D1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9719
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#A29589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #989f2d;
/* rgb */ color: rgb(152, 159, 45);
/* oklch */ color: oklch(67.6% 0.134 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9bb6e',
    500: '#989f2d',
    950: '#000000',
  },
}
SCSS
$custom: #989f2d;
$custom-light: #b9bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#989f2d",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 63.684,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.67575,
    "c": 0.1335,
    "h": 112.9
  },
  "luminance": 0.31661
}

Semantic roles & 50–950 ramp

primary
#989F2D
secondary
#6F6ABE
accent
#49DF52
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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