#989F2C#989F2C

#989F2C 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#989F2C
RGBrgb(152, 159, 44)
HSLhsl(64, 57%, 40%)
HSVhsv(64, 72%, 62%)
CMYKcmyk(4.4%, 0%, 72.3%, 37.6%)
CIE-LABlab(63.06, -17.01, 55.68)
CIE-LCHlch(63.06, 58.22, 106.99°)
OKLaboklab(67.57% -0.0523 0.1235)
OKLCHoklch(67.57% 0.134 112.9)
XYZxyz(25.8024, 31.6541, 7.1330)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F2C #332C9F
analogous
#9F6C2C #989F2C #5F9F2C
triadic
#989F2C #2C989F #9F2C98
tetradic
#989F2C #2C9F6C #332C9F #9F2C5F
square
#989F2C #2C9F6C #332C9F #9F2C5F
split-complementary
#989F2C #2C5F9F #6C2C9F
monochromatic
#3C3F11 #6A6F1F #989F2C #C1CA3E #D1D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989F2C#FFFFFF#000000##000000
##989F2C1.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)
#AB9717
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#A29589
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #989f2c;
/* rgb */ color: rgb(152, 159, 44);
/* oklch */ color: oklch(67.6% 0.134 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9bb6d',
    500: '#989f2c',
    950: '#000000',
  },
}
SCSS
$custom: #989f2c;
$custom-light: #b9bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#989f2c",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 44
  },
  "hsl": {
    "h": 63.652,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.13415,
    "h": 112.9
  },
  "luminance": 0.31654
}

Semantic roles & 50–950 ramp

primary
#989F2C
secondary
#6E69BE
accent
#48E051
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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