#989227#989227

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

Color values

HEX#989227
RGBrgb(152, 146, 39)
HSLhsl(57, 59%, 37%)
HSVhsv(57, 74%, 60%)
CMYKcmyk(0%, 3.9%, 74.3%, 40.4%)
CIE-LABlab(59.32, -10.43, 53.93)
CIE-LCHlch(59.32, 54.93, 100.95°)
OKLaboklab(64.58% -0.0344 0.1189)
OKLCHoklch(64.58% 0.124 106.1)
XYZxyz(23.5949, 27.3805, 5.9612)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989227 #272D98
analogous
#985927 #989227 #669827
triadic
#989227 #279892 #922798
tetradic
#989227 #279859 #272D98 #982766
square
#989227 #279859 #272D98 #982766
split-complementary
#989227 #276698 #592798
monochromatic
#37340E #67631B #989227 #C9C133 #D7D163

Accessibility & contrast

On white

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

On black

6.48
#989227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989227
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989227#FFFFFF#000000##000000
##9892271.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989227;
/* rgb */ color: rgb(152, 146, 39);
/* oklch */ color: oklch(64.6% 0.124 106.1);
Tailwind
colors: {
  custom: {
    50: '#bab169',
    500: '#989227',
    950: '#000000',
  },
}
SCSS
$custom: #989227;
$custom-light: #bab169;
$custom-dark: #000000;
JSON
{
  "hex": "#989227",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 56.814,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.12379,
    "h": 106.1
  },
  "luminance": 0.2738
}

Semantic roles & 50–950 ramp

primary
#989227
secondary
#5E63BC
accent
#4EE245
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #989227

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

Preview Lab → · Contrast checker → · Palette generator →

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