#989D30#989D30

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

Color values

HEX#989D30
RGBrgb(152, 157, 48)
HSLhsl(63, 53%, 40%)
HSVhsv(63, 69%, 62%)
CMYKcmyk(3.2%, 0%, 69.4%, 38.4%)
CIE-LABlab(62.51, -15.76, 53.62)
CIE-LCHlch(62.51, 55.88, 106.38°)
OKLaboklab(67.14% -0.0484 0.1199)
OKLCHoklch(67.14% 0.129 112)
XYZxyz(25.5401, 31.0033, 7.4346)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D30 #35309D
analogous
#9D6B30 #989D30 #629D30
triadic
#989D30 #30989D #9D3098
tetradic
#989D30 #309D6B #35309D #9D3062
square
#989D30 #309D6B #35309D #9D3062
split-complementary
#989D30 #30629D #6B309D
monochromatic
#3D3F13 #6B6E22 #989D30 #C0C644 #D0D473

Accessibility & contrast

On white

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

On black

7.20
#989D30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D30
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D30#FFFFFF#000000##000000
##989D301.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961F
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#A29387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d30;
/* rgb */ color: rgb(152, 157, 48);
/* oklch */ color: oklch(67.1% 0.129 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b96f',
    500: '#989d30',
    950: '#000000',
  },
}
SCSS
$custom: #989d30;
$custom-light: #b9b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#989d30",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 62.752,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6714,
    "c": 0.12929,
    "h": 112
  },
  "luminance": 0.31003
}

Semantic roles & 50–950 ramp

primary
#989D30
secondary
#706DBC
accent
#4BDD52
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989D30

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

Preview Lab → · Contrast checker → · Palette generator →

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