#989F25#989F25

#989F25 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.138 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#989F25
RGBrgb(152, 159, 37)
HSLhsl(63, 62%, 38%)
HSVhsv(63, 77%, 62%)
CMYKcmyk(4.4%, 0%, 76.7%, 37.6%)
CIE-LABlab(63.02, -17.34, 58.08)
CIE-LCHlch(63.02, 60.61, 106.62°)
OKLaboklab(67.52% -0.0538 0.1274)
OKLCHoklch(67.52% 0.138 112.9)
XYZxyz(25.6818, 31.6058, 6.4976)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F25 #2C259F
analogous
#9F6925 #989F25 #5B9F25
triadic
#989F25 #25989F #9F2598
tetradic
#989F25 #259F69 #2C259F #9F255B
square
#989F25 #259F69 #2C259F #9F255B
split-complementary
#989F25 #255B9F #69259F
monochromatic
#393C0E #696D19 #989F25 #C6CF32 #D4DB64

Accessibility & contrast

On white

2.87
#989F25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#989F25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F25
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F25#FFFFFF#000000##000000
##989F251.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9705
Deuteranopia (green-blind)
#AB9A30
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f25;
/* rgb */ color: rgb(152, 159, 37);
/* oklch */ color: oklch(67.5% 0.138 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb6a',
    500: '#989f25',
    950: '#000000',
  },
}
SCSS
$custom: #989f25;
$custom-light: #babb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#989f25",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 63.443,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67523,
    "c": 0.13827,
    "h": 112.9
  },
  "luminance": 0.31605
}

Semantic roles & 50–950 ramp

primary
#989F25
secondary
#655FC0
accent
#42E54C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989F25

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

Preview Lab → · Contrast checker → · Palette generator →

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