#989E27#989E27

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

Color values

HEX#989E27
RGBrgb(152, 158, 39)
HSLhsl(63, 60%, 39%)
HSVhsv(63, 75%, 62%)
CMYKcmyk(3.8%, 0%, 75.3%, 38%)
CIE-LABlab(62.74, -16.74, 57.15)
CIE-LCHlch(62.74, 59.55, 106.32°)
OKLaboklab(67.31% -0.052 0.1258)
OKLCHoklch(67.31% 0.136 112.5)
XYZxyz(25.5428, 31.2762, 6.6104)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E27 #2D279E
analogous
#9E6827 #989E27 #5C9E27
triadic
#989E27 #27989E #9E2798
tetradic
#989E27 #279E68 #2D279E #9E275C
square
#989E27 #279E68 #2D279E #9E275C
split-complementary
#989E27 #275C9E #68279E
monochromatic
#3A3C0F #696D1B #989E27 #C5CD35 #D3D966

Accessibility & contrast

On white

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

On black

7.26
#989E27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E27
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E27#FFFFFF#000000##000000
##989E271.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989e27;
/* rgb */ color: rgb(152, 158, 39);
/* oklch */ color: oklch(67.3% 0.136 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba6b',
    500: '#989e27',
    950: '#000000',
  },
}
SCSS
$custom: #989e27;
$custom-light: #baba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#989e27",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 39
  },
  "hsl": {
    "h": 63.025,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67305,
    "c": 0.13607,
    "h": 112.5
  },
  "luminance": 0.31276
}

Semantic roles & 50–950 ramp

primary
#989E27
secondary
#6662BF
accent
#44E44C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989E27

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

Preview Lab → · Contrast checker → · Palette generator →

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