#989D27#989D27

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

Color values

HEX#989D27
RGBrgb(152, 157, 39)
HSLhsl(63, 60%, 38%)
HSVhsv(63, 75%, 62%)
CMYKcmyk(3.2%, 0%, 75.2%, 38.4%)
CIE-LABlab(62.45, -16.22, 56.89)
CIE-LCHlch(62.45, 59.15, 105.91°)
OKLaboklab(67.08% -0.0506 0.1252)
OKLCHoklch(67.08% 0.135 112)
XYZxyz(25.3729, 30.9365, 6.5538)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D27 #2C279D
analogous
#9D6727 #989D27 #5D9D27
triadic
#989D27 #27989D #9D2798
tetradic
#989D27 #279D67 #2C279D #9D275D
square
#989D27 #279D67 #2C279D #9D275D
split-complementary
#989D27 #275D9D #67279D
monochromatic
#393B0F #696C1B #989D27 #C6CD35 #D4D966

Accessibility & contrast

On white

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

On black

7.19
#989D27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D27
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D27#FFFFFF#000000##000000
##989D271.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960D
Deuteranopia (green-blind)
#AA9831
Tritanopia (blue-blind)
#A39387
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d27;
/* rgb */ color: rgb(152, 157, 39);
/* oklch */ color: oklch(67.1% 0.135 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab96b',
    500: '#989d27',
    950: '#000000',
  },
}
SCSS
$custom: #989d27;
$custom-light: #bab96b;
$custom-dark: #000000;
JSON
{
  "hex": "#989d27",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 62.542,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67076,
    "c": 0.135,
    "h": 112
  },
  "luminance": 0.30936
}

Semantic roles & 50–950 ramp

primary
#989D27
secondary
#6561BF
accent
#44E34B
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989D27

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

Preview Lab → · Contrast checker → · Palette generator →

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