#989D2F#989D2F

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

Color values

HEX#989D2F
RGBrgb(152, 157, 47)
HSLhsl(63, 54%, 40%)
HSVhsv(63, 70%, 62%)
CMYKcmyk(3.2%, 0%, 70.1%, 38.4%)
CIE-LABlab(62.50, -15.81, 54.00)
CIE-LCHlch(62.50, 56.27, 106.32°)
OKLaboklab(67.13% -0.0487 0.1205)
OKLCHoklch(67.13% 0.13 112)
XYZxyz(25.5197, 30.9952, 7.3271)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D2F #342F9D
analogous
#9D6B2F #989D2F #619D2F
triadic
#989D2F #2F989D #9D2F98
tetradic
#989D2F #2F9D6B #342F9D #9D2F61
square
#989D2F #2F9D6B #342F9D #9D2F61
split-complementary
#989D2F #2F619D #6B2F9D
monochromatic
#3D3F13 #6A6E21 #989D2F #C1C743 #D0D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989D2F#FFFFFF#000000##000000
##989D2F1.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)
#A9961D
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#A29387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d2f;
/* rgb */ color: rgb(152, 157, 47);
/* oklch */ color: oklch(67.1% 0.130 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96f',
    500: '#989d2f',
    950: '#000000',
  },
}
SCSS
$custom: #989d2f;
$custom-light: #b9b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#989d2f",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 62.727,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.67132,
    "c": 0.12998,
    "h": 112
  },
  "luminance": 0.30995
}

Semantic roles & 50–950 ramp

primary
#989D2F
secondary
#6F6BBC
accent
#4BDD51
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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