#899C21#899C21

#899C21 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.6% C 0.142 H 118.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#899C21
RGBrgb(137, 156, 33)
HSLhsl(69, 65%, 37%)
HSVhsv(69, 79%, 61%)
CMYKcmyk(12.2%, 0%, 78.8%, 38.8%)
CIE-LABlab(60.96, -22.52, 57.05)
CIE-LCHlch(60.96, 61.33, 111.54°)
OKLaboklab(65.58% -0.0677 0.125)
OKLCHoklch(65.58% 0.142 118.4)
XYZxyz(22.4800, 29.2053, 5.8915)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899C21 #34219C
analogous
#9C7121 #899C21 #4C9C21
triadic
#899C21 #21899C #9C2189
tetradic
#899C21 #219C71 #34219C #9C214C
square
#899C21 #219C71 #34219C #9C214C
split-complementary
#899C21 #214C9C #71219C
monochromatic
#30370C #5D6916 #899C21 #B5CF2C #C8DC5B

Accessibility & contrast

On white

3.07
#899C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#899C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899C21
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899C21#FFFFFF#000000##000000
##899C211.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#929385
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #899c21;
/* rgb */ color: rgb(137, 156, 33);
/* oklch */ color: oklch(65.6% 0.142 118.4);
Tailwind
colors: {
  custom: {
    50: '#afb968',
    500: '#899c21',
    950: '#000000',
  },
}
SCSS
$custom: #899c21;
$custom-light: #afb968;
$custom-dark: #000000;
JSON
{
  "hex": "#899c21",
  "rgb": {
    "r": 137,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 69.268,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65578,
    "c": 0.14212,
    "h": 118.4
  },
  "luminance": 0.29205
}

Semantic roles & 50–950 ramp

primary
#899C21
secondary
#6858C1
accent
#40E85A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899C21

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

Preview Lab → · Contrast checker → · Palette generator →

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