#989B27#989B27

#989B27 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.6% C 0.133 H 111.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#989B27
RGBrgb(152, 155, 39)
HSLhsl(62, 60%, 38%)
HSVhsv(62, 75%, 61%)
CMYKcmyk(1.9%, 0%, 74.8%, 39.2%)
CIE-LABlab(61.88, -15.18, 56.35)
CIE-LCHlch(61.88, 58.36, 105.08°)
OKLaboklab(66.62% -0.0477 0.1241)
OKLCHoklch(66.62% 0.133 111)
XYZxyz(25.0373, 30.2652, 6.4419)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B27 #2A279B
analogous
#9B6427 #989B27 #5E9B27
triadic
#989B27 #27989B #9B2798
tetradic
#989B27 #279B64 #2A279B #9B275E
square
#989B27 #279B64 #2A279B #9B275E
split-complementary
#989B27 #275E9B #64279B
monochromatic
#38390E #686A1B #989B27 #C8CC33 #D5D864

Accessibility & contrast

On white

2.98
#989B27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#989B27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B27
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B27#FFFFFF#000000##000000
##989B271.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940E
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989b27;
/* rgb */ color: rgb(152, 155, 39);
/* oklch */ color: oklch(66.6% 0.133 111.0);
Tailwind
colors: {
  custom: {
    50: '#bab86a',
    500: '#989b27',
    950: '#000000',
  },
}
SCSS
$custom: #989b27;
$custom-light: #bab86a;
$custom-dark: #000000;
JSON
{
  "hex": "#989b27",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 61.552,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66619,
    "c": 0.13289,
    "h": 111
  },
  "luminance": 0.30265
}

Semantic roles & 50–950 ramp

primary
#989B27
secondary
#6260BE
accent
#45E349
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989B27

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

Preview Lab → · Contrast checker → · Palette generator →

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