#989126#989126

#989126 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.123 H 105.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#989126
RGBrgb(152, 145, 38)
HSLhsl(56, 60%, 37%)
HSVhsv(56, 75%, 60%)
CMYKcmyk(0%, 4.6%, 75%, 40.4%)
CIE-LABlab(59.04, -9.95, 54.02)
CIE-LCHlch(59.04, 54.93, 100.43°)
OKLaboklab(64.35% -0.0331 0.1189)
OKLCHoklch(64.35% 0.123 105.6)
XYZxyz(23.4251, 27.0670, 5.8239)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989126 #262D98
analogous
#985826 #989126 #669826
triadic
#989126 #269891 #912698
tetradic
#989126 #269858 #262D98 #982666
square
#989126 #269858 #262D98 #982666
split-complementary
#989126 #266698 #582698
monochromatic
#36340E #67621A #989126 #C9C032 #D7D061

Accessibility & contrast

On white

3.27
#989126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#989126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989126
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989126#FFFFFF#000000##000000
##9891261.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C11
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#A4877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #989126;
/* rgb */ color: rgb(152, 145, 38);
/* oklch */ color: oklch(64.3% 0.123 105.6);
Tailwind
colors: {
  custom: {
    50: '#bab069',
    500: '#989126',
    950: '#000000',
  },
}
SCSS
$custom: #989126;
$custom-light: #bab069;
$custom-dark: #000000;
JSON
{
  "hex": "#989126",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 56.316,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64346,
    "c": 0.12345,
    "h": 105.6
  },
  "luminance": 0.27066
}

Semantic roles & 50–950 ramp

primary
#989126
secondary
#5D63BD
accent
#4EE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #989126

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

Preview Lab → · Contrast checker → · Palette generator →

#989126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva