#989E2C#989E2C

#989E2C is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.3% C 0.133 H 112.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#989E2C
RGBrgb(152, 158, 44)
HSLhsl(63, 56%, 40%)
HSVhsv(63, 72%, 62%)
CMYKcmyk(3.8%, 0%, 72.2%, 38%)
CIE-LABlab(62.77, -16.49, 55.40)
CIE-LCHlch(62.77, 57.80, 106.58°)
OKLaboklab(67.34% -0.0508 0.123)
OKLCHoklch(67.34% 0.133 112.5)
XYZxyz(25.6312, 31.3116, 7.0759)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E2C #322C9E
analogous
#9E6B2C #989E2C #5F9E2C
triadic
#989E2C #2C989E #9E2C98
tetradic
#989E2C #2C9E6B #322C9E #9E2C5F
square
#989E2C #2C9E6B #322C9E #9E2C5F
split-complementary
#989E2C #2C5F9E #6B2C9E
monochromatic
#3C3E11 #6A6E1F #989E2C #C2C93E #D1D76E

Accessibility & contrast

On white

2.89
#989E2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#989E2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E2C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E2C#FFFFFF#000000##000000
##989E2C1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9717
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e2c;
/* rgb */ color: rgb(152, 158, 44);
/* oklch */ color: oklch(67.3% 0.133 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9ba6d',
    500: '#989e2c',
    950: '#000000',
  },
}
SCSS
$custom: #989e2c;
$custom-light: #b9ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#989e2c",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 63.158,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67339,
    "c": 0.13305,
    "h": 112.5
  },
  "luminance": 0.31311
}

Semantic roles & 50–950 ramp

primary
#989E2C
secondary
#6D68BE
accent
#48E050
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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