#889228#889228

#889228 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.2% C 0.127 H 114.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#889228
RGBrgb(136, 146, 40)
HSLhsl(66, 57%, 36%)
HSVhsv(66, 73%, 57%)
CMYKcmyk(6.8%, 0%, 72.6%, 42.7%)
CIE-LABlab(57.99, -17.52, 51.80)
CIE-LCHlch(57.99, 54.68, 108.68°)
OKLaboklab(63.18% -0.0532 0.1152)
OKLCHoklch(63.18% 0.127 114.8)
XYZxyz(20.8158, 25.9456, 5.9185)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#889228 #322892
analogous
#926728 #889228 #539228
triadic
#889228 #288892 #922888
tetradic
#889228 #289267 #322892 #922853
square
#889228 #289267 #322892 #922853
split-complementary
#889228 #285392 #672892
monochromatic
#2F320E #5B621B #889228 #B5C235 #C9D461

Accessibility & contrast

On white

3.39
#889228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#889228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #889228
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##889228#FFFFFF#000000##000000
##8892281.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#91897D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #889228;
/* rgb */ color: rgb(136, 146, 40);
/* oklch */ color: oklch(63.2% 0.127 114.8);
Tailwind
colors: {
  custom: {
    50: '#aeb16a',
    500: '#889228',
    950: '#000000',
  },
}
SCSS
$custom: #889228;
$custom-light: #aeb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#889228",
  "rgb": {
    "r": 136,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 65.66,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63179,
    "c": 0.12684,
    "h": 114.8
  },
  "luminance": 0.25945
}

Semantic roles & 50–950 ramp

primary
#889228
secondary
#655DB9
accent
#48E056
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #889228

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

Preview Lab → · Contrast checker → · Palette generator →

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