#989F2F#989F2F

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

Color values

HEX#989F2F
RGBrgb(152, 159, 47)
HSLhsl(64, 54%, 40%)
HSVhsv(64, 70%, 62%)
CMYKcmyk(4.4%, 0%, 70.4%, 37.6%)
CIE-LABlab(63.08, -16.85, 54.57)
CIE-LCHlch(63.08, 57.11, 107.16°)
OKLaboklab(67.59% -0.0515 0.1217)
OKLCHoklch(67.59% 0.132 113)
XYZxyz(25.8609, 31.6775, 7.4408)
Luminance0.3168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F2F #362F9F
analogous
#9F6E2F #989F2F #609F2F
triadic
#989F2F #2F989F #9F2F98
tetradic
#989F2F #2F9F6E #362F9F #9F2F60
square
#989F2F #2F9F6E #362F9F #9F2F60
split-complementary
#989F2F #2F609F #6E2F9F
monochromatic
#3E4113 #6B7021 #989F2F #BFC844 #CFD673

Accessibility & contrast

On white

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

On black

7.34
#989F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F2F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F2F#FFFFFF#000000##000000
##989F2F1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989f2f;
/* rgb */ color: rgb(152, 159, 47);
/* oklch */ color: oklch(67.6% 0.132 113.0);
Tailwind
colors: {
  custom: {
    50: '#b9bb6f',
    500: '#989f2f',
    950: '#000000',
  },
}
SCSS
$custom: #989f2f;
$custom-light: #b9bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#989f2f",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 63.75,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6759,
    "c": 0.13219,
    "h": 113
  },
  "luminance": 0.31677
}

Semantic roles & 50–950 ramp

primary
#989F2F
secondary
#726DBD
accent
#4ADE53
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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