#989223#989223

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

Color values

HEX#989223
RGBrgb(152, 146, 35)
HSLhsl(57, 63%, 37%)
HSVhsv(57, 77%, 60%)
CMYKcmyk(0%, 3.9%, 77%, 40.4%)
CIE-LABlab(59.30, -10.61, 55.32)
CIE-LCHlch(59.30, 56.33, 100.86°)
OKLaboklab(64.55% -0.0353 0.1211)
OKLCHoklch(64.55% 0.126 106.2)
XYZxyz(23.5321, 27.3554, 5.6303)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989223 #232998
analogous
#985823 #989223 #649823
triadic
#989223 #239892 #922398
tetradic
#989223 #239858 #232998 #982364
square
#989223 #239858 #232998 #982364
split-complementary
#989223 #236498 #582398
monochromatic
#35320C #666218 #989223 #CAC22E #D9D35C

Accessibility & contrast

On white

3.25
#989223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##989223#FFFFFF#000000##000000
##9892231.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C09
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#A4887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #989223;
/* rgb */ color: rgb(152, 146, 35);
/* oklch */ color: oklch(64.6% 0.126 106.2);
Tailwind
colors: {
  custom: {
    50: '#bab167',
    500: '#989223',
    950: '#000000',
  },
}
SCSS
$custom: #989223;
$custom-light: #bab167;
$custom-dark: #000000;
JSON
{
  "hex": "#989223",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 56.923,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64552,
    "c": 0.12613,
    "h": 106.2
  },
  "luminance": 0.27355
}

Semantic roles & 50–950 ramp

primary
#989223
secondary
#595EBE
accent
#4BE642
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #989223

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

Preview Lab → · Contrast checker → · Palette generator →

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