#989E2B#989E2B

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

Color values

HEX#989E2B
RGBrgb(152, 158, 43)
HSLhsl(63, 57%, 39%)
HSVhsv(63, 73%, 62%)
CMYKcmyk(3.8%, 0%, 72.8%, 38%)
CIE-LABlab(62.76, -16.54, 55.76)
CIE-LCHlch(62.76, 58.16, 106.52°)
OKLaboklab(67.33% -0.0511 0.1235)
OKLCHoklch(67.33% 0.134 112.5)
XYZxyz(25.6126, 31.3041, 6.9781)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E2B #312B9E
analogous
#9E6A2B #989E2B #5F9E2B
triadic
#989E2B #2B989E #9E2B98
tetradic
#989E2B #2B9E6A #312B9E #9E2B5F
square
#989E2B #2B9E6A #312B9E #9E2B5F
split-complementary
#989E2B #2B5F9E #6A2B9E
monochromatic
#3B3E11 #6A6E1E #989E2B #C3CA3C #D2D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989E2B#FFFFFF#000000##000000
##989E2B1.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)
#AA9615
Deuteranopia (green-blind)
#AA9934
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e2b;
/* rgb */ color: rgb(152, 158, 43);
/* oklch */ color: oklch(67.3% 0.134 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba6d',
    500: '#989e2b',
    950: '#000000',
  },
}
SCSS
$custom: #989e2b;
$custom-light: #baba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#989e2b",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 63.13,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67332,
    "c": 0.13369,
    "h": 112.5
  },
  "luminance": 0.31304
}

Semantic roles & 50–950 ramp

primary
#989E2B
secondary
#6B67BE
accent
#47E04F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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