#989A25#989A25

#989A25 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.133 H 110.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#989A25
RGBrgb(152, 154, 37)
HSLhsl(61, 61%, 37%)
HSVhsv(61, 76%, 60%)
CMYKcmyk(1.3%, 0%, 76%, 39.6%)
CIE-LABlab(61.59, -14.75, 56.76)
CIE-LCHlch(61.59, 58.64, 104.57°)
OKLaboklab(66.38% -0.0466 0.1245)
OKLCHoklch(66.38% 0.133 110.5)
XYZxyz(24.8393, 29.9209, 6.2168)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A25 #27259A
analogous
#9A6225 #989A25 #5D9A25
triadic
#989A25 #25989A #9A2598
tetradic
#989A25 #259A62 #27259A #9A255D
square
#989A25 #259A62 #27259A #9A255D
split-complementary
#989A25 #255D9A #62259A
monochromatic
#37370D #676919 #989A25 #C9CB31 #D7D960

Accessibility & contrast

On white

3.01
#989A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#989A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A25
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A25#FFFFFF#000000##000000
##989A251.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79309
Deuteranopia (green-blind)
#A8962F
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a25;
/* rgb */ color: rgb(152, 154, 37);
/* oklch */ color: oklch(66.4% 0.133 110.5);
Tailwind
colors: {
  custom: {
    50: '#bab769',
    500: '#989a25',
    950: '#000000',
  },
}
SCSS
$custom: #989a25;
$custom-light: #bab769;
$custom-dark: #000000;
JSON
{
  "hex": "#989a25",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 37
  },
  "hsl": {
    "h": 61.026,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66378,
    "c": 0.13299,
    "h": 110.5
  },
  "luminance": 0.2992
}

Semantic roles & 50–950 ramp

primary
#989A25
secondary
#5E5DBE
accent
#43E446
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989A25

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

Preview Lab → · Contrast checker → · Palette generator →

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