#989E25#989E25

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

Color values

HEX#989E25
RGBrgb(152, 158, 37)
HSLhsl(63, 62%, 38%)
HSVhsv(63, 77%, 62%)
CMYKcmyk(3.8%, 0%, 76.6%, 38%)
CIE-LABlab(62.73, -16.83, 57.81)
CIE-LCHlch(62.73, 60.21, 106.23°)
OKLaboklab(67.29% -0.0524 0.1268)
OKLCHoklch(67.29% 0.137 112.5)
XYZxyz(25.5105, 31.2633, 6.4405)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E25 #2B259E
analogous
#9E6725 #989E25 #5B9E25
triadic
#989E25 #25989E #9E2598
tetradic
#989E25 #259E67 #2B259E #9E255B
square
#989E25 #259E67 #2B259E #9E255B
split-complementary
#989E25 #255B9E #67259E
monochromatic
#393B0E #686C19 #989E25 #C7CF31 #D5DA63

Accessibility & contrast

On white

2.90
#989E25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#989E25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E25
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E25#FFFFFF#000000##000000
##989E251.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9606
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e25;
/* rgb */ color: rgb(152, 158, 37);
/* oklch */ color: oklch(67.3% 0.137 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba6a',
    500: '#989e25',
    950: '#000000',
  },
}
SCSS
$custom: #989e25;
$custom-light: #baba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#989e25",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 37
  },
  "hsl": {
    "h": 62.975,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67293,
    "c": 0.13719,
    "h": 112.5
  },
  "luminance": 0.31263
}

Semantic roles & 50–950 ramp

primary
#989E25
secondary
#645FC0
accent
#43E54B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989E25

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

Preview Lab → · Contrast checker → · Palette generator →

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