#899222#899222

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

Color values

HEX#899222
RGBrgb(137, 146, 34)
HSLhsl(65, 62%, 35%)
HSVhsv(65, 77%, 57%)
CMYKcmyk(6.2%, 0%, 76.7%, 42.7%)
CIE-LABlab(58.03, -17.37, 54.02)
CIE-LCHlch(58.03, 56.75, 107.83°)
OKLaboklab(63.22% -0.0534 0.1187)
OKLCHoklch(63.22% 0.13 114.2)
XYZxyz(20.8848, 25.9920, 5.4299)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899222 #2B2292
analogous
#926322 #899222 #519222
triadic
#899222 #228992 #922289
tetradic
#899222 #229263 #2B2292 #922251
square
#899222 #229263 #2B2292 #922251
split-complementary
#899222 #225192 #632292
monochromatic
#2C2F0B #5A6016 #899222 #B8C42E #CDD857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##899222#FFFFFF#000000##000000
##8992221.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)
#9D8B07
Deuteranopia (green-blind)
#9D8C2C
Tritanopia (blue-blind)
#92897D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #899222;
/* rgb */ color: rgb(137, 146, 34);
/* oklch */ color: oklch(63.2% 0.130 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb167',
    500: '#899222',
    950: '#000000',
  },
}
SCSS
$custom: #899222;
$custom-light: #afb167;
$custom-dark: #000000;
JSON
{
  "hex": "#899222",
  "rgb": {
    "r": 137,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 64.821,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63223,
    "c": 0.13019,
    "h": 114.2
  },
  "luminance": 0.25992
}

Semantic roles & 50–950 ramp

primary
#899222
secondary
#5C54BC
accent
#43E550
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #899222

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

Preview Lab → · Contrast checker → · Palette generator →

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