#989B25#989B25

#989B25 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.6% C 0.134 H 111.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#989B25
RGBrgb(152, 155, 37)
HSLhsl(62, 61%, 38%)
HSVhsv(62, 76%, 61%)
CMYKcmyk(1.9%, 0%, 76.1%, 39.2%)
CIE-LABlab(61.87, -15.27, 57.02)
CIE-LCHlch(61.87, 59.03, 104.99°)
OKLaboklab(66.61% -0.0481 0.1251)
OKLCHoklch(66.61% 0.134 111)
XYZxyz(25.0050, 30.2523, 6.2720)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B25 #28259B
analogous
#9B6325 #989B25 #5D9B25
triadic
#989B25 #25989B #9B2598
tetradic
#989B25 #259B63 #28259B #9B255D
square
#989B25 #259B63 #28259B #9B255D
split-complementary
#989B25 #255D9B #63259B
monochromatic
#37380D #686A19 #989B25 #C8CC31 #D6D961

Accessibility & contrast

On white

2.98
#989B25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#989B25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B25
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B25#FFFFFF#000000##000000
##989B251.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89408
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989b25;
/* rgb */ color: rgb(152, 155, 37);
/* oklch */ color: oklch(66.6% 0.134 111.0);
Tailwind
colors: {
  custom: {
    50: '#bab869',
    500: '#989b25',
    950: '#000000',
  },
}
SCSS
$custom: #989b25;
$custom-light: #bab869;
$custom-dark: #000000;
JSON
{
  "hex": "#989b25",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 37
  },
  "hsl": {
    "h": 61.525,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.13403,
    "h": 111
  },
  "luminance": 0.30252
}

Semantic roles & 50–950 ramp

primary
#989B25
secondary
#605DBF
accent
#43E547
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989B25

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

Preview Lab → · Contrast checker → · Palette generator →

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