#899F21#899F21

#899F21 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.3% C 0.146 H 119.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#899F21
RGBrgb(137, 159, 33)
HSLhsl(70, 66%, 38%)
HSVhsv(70, 79%, 62%)
CMYKcmyk(13.8%, 0%, 79.2%, 37.6%)
CIE-LABlab(61.85, -24.02, 57.85)
CIE-LCHlch(61.85, 62.64, 112.55°)
OKLaboklab(66.29% -0.0718 0.1267)
OKLCHoklch(66.29% 0.146 119.5)
XYZxyz(22.9897, 30.2246, 6.0614)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899F21 #37219F
analogous
#9F7621 #899F21 #4A9F21
triadic
#899F21 #21899F #9F2189
tetradic
#899F21 #219F76 #37219F #9F214A
square
#899F21 #219F76 #37219F #9F214A
split-complementary
#899F21 #214A9F #76219F
monochromatic
#323A0C #5D6C16 #899F21 #B5D22C #C7DD5D

Accessibility & contrast

On white

2.98
#899F21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#899F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #899F21
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899F21#FFFFFF#000000##000000
##899F211.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#919688
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #899f21;
/* rgb */ color: rgb(137, 159, 33);
/* oklch */ color: oklch(66.3% 0.146 119.5);
Tailwind
colors: {
  custom: {
    50: '#afbb68',
    500: '#899f21',
    950: '#000000',
  },
}
SCSS
$custom: #899f21;
$custom-light: #afbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#899f21",
  "rgb": {
    "r": 137,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 70.476,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.14561,
    "h": 119.5
  },
  "luminance": 0.30224
}

Semantic roles & 50–950 ramp

primary
#899F21
secondary
#6C5AC2
accent
#3FE95D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899F21

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

Preview Lab → · Contrast checker → · Palette generator →

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