#899221#899221

#899221 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.2% C 0.131 H 114.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#899221
RGBrgb(137, 146, 33)
HSLhsl(65, 63%, 35%)
HSVhsv(65, 77%, 57%)
CMYKcmyk(6.2%, 0%, 77.4%, 42.7%)
CIE-LABlab(58.02, -17.42, 54.35)
CIE-LCHlch(58.02, 57.08, 107.77°)
OKLaboklab(63.22% -0.0536 0.1193)
OKLCHoklch(63.22% 0.131 114.2)
XYZxyz(20.8706, 25.9864, 5.3550)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899221 #2A2192
analogous
#926321 #899221 #509221
triadic
#899221 #218992 #922189
tetradic
#899221 #219263 #2A2192 #922150
square
#899221 #219263 #2A2192 #922150
split-complementary
#899221 #215092 #632192
monochromatic
#2B2E0A #5A6016 #899221 #B8C42C #CED955

Accessibility & contrast

On white

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

On black

6.20
#899221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899221
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899221#FFFFFF#000000##000000
##8992211.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A04
Deuteranopia (green-blind)
#9D8C2B
Tritanopia (blue-blind)
#92897D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #899221;
/* rgb */ color: rgb(137, 146, 33);
/* oklch */ color: oklch(63.2% 0.131 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb166',
    500: '#899221',
    950: '#000000',
  },
}
SCSS
$custom: #899221;
$custom-light: #afb166;
$custom-dark: #000000;
JSON
{
  "hex": "#899221",
  "rgb": {
    "r": 137,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 64.779,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63217,
    "c": 0.13074,
    "h": 114.2
  },
  "luminance": 0.25986
}

Semantic roles & 50–950 ramp

primary
#899221
secondary
#5B53BC
accent
#42E64F
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #899221

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

Preview Lab → · Contrast checker → · Palette generator →

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