#989D2B#989D2B

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

Color values

HEX#989D2B
RGBrgb(152, 157, 43)
HSLhsl(63, 57%, 39%)
HSVhsv(63, 73%, 62%)
CMYKcmyk(3.2%, 0%, 72.6%, 38.4%)
CIE-LABlab(62.48, -16.03, 55.49)
CIE-LCHlch(62.48, 57.75, 106.11°)
OKLaboklab(67.1% -0.0496 0.123)
OKLCHoklch(67.1% 0.133 112)
XYZxyz(25.4427, 30.9644, 6.9215)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D2B #302B9D
analogous
#9D692B #989D2B #5F9D2B
triadic
#989D2B #2B989D #9D2B98
tetradic
#989D2B #2B9D69 #302B9D #9D2B5F
square
#989D2B #2B9D69 #302B9D #9D2B5F
split-complementary
#989D2B #2B5F9D #692B9D
monochromatic
#3B3D11 #696D1E #989D2B #C3CA3C #D2D76C

Accessibility & contrast

On white

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

On black

7.19
#989D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D2B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D2B#FFFFFF#000000##000000
##989D2B1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99616
Deuteranopia (green-blind)
#AA9834
Tritanopia (blue-blind)
#A39387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d2b;
/* rgb */ color: rgb(152, 157, 43);
/* oklch */ color: oklch(67.1% 0.133 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab96d',
    500: '#989d2b',
    950: '#000000',
  },
}
SCSS
$custom: #989d2b;
$custom-light: #bab96d;
$custom-dark: #000000;
JSON
{
  "hex": "#989d2b",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 62.632,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67103,
    "c": 0.1326,
    "h": 112
  },
  "luminance": 0.30964
}

Semantic roles & 50–950 ramp

primary
#989D2B
secondary
#6A66BD
accent
#48E04E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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