#989226#989226

#989226 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.6% C 0.124 H 106.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#989226
RGBrgb(152, 146, 38)
HSLhsl(57, 60%, 37%)
HSVhsv(57, 75%, 60%)
CMYKcmyk(0%, 3.9%, 75%, 40.4%)
CIE-LABlab(59.32, -10.48, 54.28)
CIE-LCHlch(59.32, 55.29, 100.93°)
OKLaboklab(64.57% -0.0346 0.1195)
OKLCHoklch(64.57% 0.124 106.2)
XYZxyz(23.5786, 27.3740, 5.8750)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989226 #262C98
analogous
#985926 #989226 #659826
triadic
#989226 #269892 #922698
tetradic
#989226 #269859 #262C98 #982665
square
#989226 #269859 #262C98 #982665
split-complementary
#989226 #266598 #592698
monochromatic
#36340E #67631A #989226 #C9C132 #D7D161

Accessibility & contrast

On white

3.24
#989226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#989226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989226
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989226#FFFFFF#000000##000000
##9892261.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C10
Deuteranopia (green-blind)
#A1912E
Tritanopia (blue-blind)
#A3887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #989226;
/* rgb */ color: rgb(152, 146, 38);
/* oklch */ color: oklch(64.6% 0.124 106.2);
Tailwind
colors: {
  custom: {
    50: '#bab169',
    500: '#989226',
    950: '#000000',
  },
}
SCSS
$custom: #989226;
$custom-light: #bab169;
$custom-dark: #000000;
JSON
{
  "hex": "#989226",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 56.842,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64571,
    "c": 0.1244,
    "h": 106.2
  },
  "luminance": 0.27373
}

Semantic roles & 50–950 ramp

primary
#989226
secondary
#5D62BD
accent
#4DE345
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #989226

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

Preview Lab → · Contrast checker → · Palette generator →

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