#989E30#989E30

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

Color values

HEX#989E30
RGBrgb(152, 158, 48)
HSLhsl(63, 53%, 40%)
HSVhsv(63, 70%, 62%)
CMYKcmyk(3.8%, 0%, 69.6%, 38%)
CIE-LABlab(62.80, -16.28, 53.90)
CIE-LCHlch(62.80, 56.31, 106.80°)
OKLaboklab(67.37% -0.0498 0.1205)
OKLCHoklch(67.37% 0.13 112.5)
XYZxyz(25.7100, 31.3431, 7.4912)
Luminance0.3134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E30 #36309E
analogous
#9E6D30 #989E30 #619E30
triadic
#989E30 #30989E #9E3098
tetradic
#989E30 #309E6D #36309E #9E3061
square
#989E30 #309E6D #36309E #9E3061
split-complementary
#989E30 #30619E #6D309E
monochromatic
#3E4013 #6B6F22 #989E30 #BFC645 #CFD574

Accessibility & contrast

On white

2.89
#989E30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#989E30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E30
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E30#FFFFFF#000000##000000
##989E301.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971F
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e30;
/* rgb */ color: rgb(152, 158, 48);
/* oklch */ color: oklch(67.4% 0.130 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9ba6f',
    500: '#989e30',
    950: '#000000',
  },
}
SCSS
$custom: #989e30;
$custom-light: #b9ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#989e30",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 48
  },
  "hsl": {
    "h": 63.273,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.1304,
    "h": 112.5
  },
  "luminance": 0.31343
}

Semantic roles & 50–950 ramp

primary
#989E30
secondary
#726DBD
accent
#4BDD53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #989E30

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

Preview Lab → · Contrast checker → · Palette generator →

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