#989D25#989D25

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

Color values

HEX#989D25
RGBrgb(152, 157, 37)
HSLhsl(63, 62%, 38%)
HSVhsv(63, 76%, 62%)
CMYKcmyk(3.2%, 0%, 76.4%, 38.4%)
CIE-LABlab(62.44, -16.31, 57.55)
CIE-LCHlch(62.44, 59.82, 105.82°)
OKLaboklab(67.06% -0.051 0.1262)
OKLCHoklch(67.06% 0.136 112)
XYZxyz(25.3406, 30.9235, 6.3839)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D25 #2A259D
analogous
#9D6625 #989D25 #5C9D25
triadic
#989D25 #25989D #9D2598
tetradic
#989D25 #259D66 #2A259D #9D255C
square
#989D25 #259D66 #2A259D #9D255C
split-complementary
#989D25 #255C9D #66259D
monochromatic
#383A0E #686B19 #989D25 #C8CE31 #D5DA62

Accessibility & contrast

On white

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

On black

7.18
#989D25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D25
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D25#FFFFFF#000000##000000
##989D251.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99607
Deuteranopia (green-blind)
#AA982F
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d25;
/* rgb */ color: rgb(152, 157, 37);
/* oklch */ color: oklch(67.1% 0.136 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab96a',
    500: '#989d25',
    950: '#000000',
  },
}
SCSS
$custom: #989d25;
$custom-light: #bab96a;
$custom-dark: #000000;
JSON
{
  "hex": "#989d25",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 37
  },
  "hsl": {
    "h": 62.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.13613,
    "h": 112
  },
  "luminance": 0.30923
}

Semantic roles & 50–950 ramp

primary
#989D25
secondary
#625EBF
accent
#43E54A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989D25

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

Preview Lab → · Contrast checker → · Palette generator →

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