#899822#899822

#899822 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.6% C 0.137 H 116.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#899822
RGBrgb(137, 152, 34)
HSLhsl(68, 63%, 36%)
HSVhsv(68, 78%, 60%)
CMYKcmyk(9.9%, 0%, 77.6%, 40.4%)
CIE-LABlab(59.79, -20.46, 55.65)
CIE-LCHlch(59.79, 59.29, 110.18°)
OKLaboklab(64.64% -0.0619 0.1222)
OKLCHoklch(64.64% 0.137 116.9)
XYZxyz(21.8341, 27.8906, 5.7463)
Luminance0.2789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899822 #312298
analogous
#986C22 #899822 #4E9822
triadic
#899822 #228998 #982289
tetradic
#899822 #22986C #312298 #98224E
square
#899822 #22986C #312298 #98224E
split-complementary
#899822 #224E98 #6C2298
monochromatic
#2F340C #5C6617 #899822 #B6CA2D #CADA5A

Accessibility & contrast

On white

3.19
#899822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#899822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899822
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899822#FFFFFF#000000##000000
##8998221.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39002
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#928F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #899822;
/* rgb */ color: rgb(137, 152, 34);
/* oklch */ color: oklch(64.6% 0.137 116.9);
Tailwind
colors: {
  custom: {
    50: '#afb667',
    500: '#899822',
    950: '#000000',
  },
}
SCSS
$custom: #899822;
$custom-light: #afb667;
$custom-dark: #000000;
JSON
{
  "hex": "#899822",
  "rgb": {
    "r": 137,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 67.627,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64637,
    "c": 0.13698,
    "h": 116.9
  },
  "luminance": 0.2789
}

Semantic roles & 50–950 ramp

primary
#899822
secondary
#6457BE
accent
#41E656
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899822

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

Preview Lab → · Contrast checker → · Palette generator →

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