#899A21#899A21

#899A21 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.1% C 0.140 H 117.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#899A21
RGBrgb(137, 154, 33)
HSLhsl(68, 65%, 37%)
HSVhsv(68, 79%, 60%)
CMYKcmyk(11%, 0%, 78.6%, 39.6%)
CIE-LABlab(60.37, -21.52, 56.51)
CIE-LCHlch(60.37, 60.47, 110.84°)
OKLaboklab(65.1% -0.0649 0.1238)
OKLCHoklch(65.1% 0.14 117.7)
XYZxyz(22.1472, 28.5396, 5.7805)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899A21 #32219A
analogous
#9A6F21 #899A21 #4D9A21
triadic
#899A21 #21899A #9A2189
tetradic
#899A21 #219A6F #32219A #9A214D
square
#899A21 #219A6F #32219A #9A214D
split-complementary
#899A21 #214D9A #6F219A
monochromatic
#2F350B #5C6816 #899A21 #B6CC2C #C9DC5A

Accessibility & contrast

On white

3.13
#899A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#899A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899A21
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899A21#FFFFFF#000000##000000
##899A211.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#929184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #899a21;
/* rgb */ color: rgb(137, 154, 33);
/* oklch */ color: oklch(65.1% 0.140 117.7);
Tailwind
colors: {
  custom: {
    50: '#afb767',
    500: '#899a21',
    950: '#000000',
  },
}
SCSS
$custom: #899a21;
$custom-light: #afb767;
$custom-dark: #000000;
JSON
{
  "hex": "#899a21",
  "rgb": {
    "r": 137,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 68.43,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65104,
    "c": 0.13981,
    "h": 117.7
  },
  "luminance": 0.28539
}

Semantic roles & 50–950 ramp

primary
#899A21
secondary
#6657C0
accent
#40E858
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899A21

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

Preview Lab → · Contrast checker → · Palette generator →

#899A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva