#989A2C#989A2C

#989A2C is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.4% C 0.129 H 110.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#989A2C
RGBrgb(152, 154, 44)
HSLhsl(61, 56%, 39%)
HSVhsv(61, 71%, 60%)
CMYKcmyk(1.3%, 0%, 71.4%, 39.6%)
CIE-LABlab(61.63, -14.41, 54.29)
CIE-LCHlch(61.63, 56.17, 104.87°)
OKLaboklab(66.43% -0.045 0.1206)
OKLCHoklch(66.43% 0.129 110.5)
XYZxyz(24.9600, 29.9691, 6.8522)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A2C #2E2C9A
analogous
#9A652C #989A2C #619A2C
triadic
#989A2C #2C989A #9A2C98
tetradic
#989A2C #2C9A65 #2E2C9A #9A2C61
square
#989A2C #2C9A65 #2E2C9A #9A2C61
split-complementary
#989A2C #2C619A #652C9A
monochromatic
#3A3B11 #696A1E #989A2C #C5C73C #D3D56C

Accessibility & contrast

On white

3.00
#989A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#989A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A2C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A2C#FFFFFF#000000##000000
##989A2C1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69319
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a2c;
/* rgb */ color: rgb(152, 154, 44);
/* oklch */ color: oklch(66.4% 0.129 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b76d',
    500: '#989a2c',
    950: '#000000',
  },
}
SCSS
$custom: #989a2c;
$custom-light: #b9b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#989a2c",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 61.091,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66425,
    "c": 0.12874,
    "h": 110.5
  },
  "luminance": 0.29968
}

Semantic roles & 50–950 ramp

primary
#989A2C
secondary
#6866BC
accent
#49DF4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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