#899D21#899D21

#899D21 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 65.8% C 0.143 H 118.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#899D21
RGBrgb(137, 157, 33)
HSLhsl(70, 65%, 37%)
HSVhsv(70, 79%, 62%)
CMYKcmyk(12.7%, 0%, 79%, 38.4%)
CIE-LABlab(61.26, -23.02, 57.32)
CIE-LCHlch(61.26, 61.77, 111.88°)
OKLaboklab(65.82% -0.069 0.1255)
OKLCHoklch(65.82% 0.143 118.8)
XYZxyz(22.6485, 29.5423, 5.9476)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899D21 #35219D
analogous
#9D7321 #899D21 #4B9D21
triadic
#899D21 #21899D #9D2189
tetradic
#899D21 #219D73 #35219D #9D214B
square
#899D21 #219D73 #35219D #9D214B
split-complementary
#899D21 #214B9D #73219D
monochromatic
#31380C #5D6A16 #899D21 #B5D02C #C8DD5C

Accessibility & contrast

On white

3.04
#899D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#899D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899D21
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899D21#FFFFFF#000000##000000
##899D211.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#929486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #899d21;
/* rgb */ color: rgb(137, 157, 33);
/* oklch */ color: oklch(65.8% 0.143 118.8);
Tailwind
colors: {
  custom: {
    50: '#afb968',
    500: '#899d21',
    950: '#000000',
  },
}
SCSS
$custom: #899d21;
$custom-light: #afb968;
$custom-dark: #000000;
JSON
{
  "hex": "#899d21",
  "rgb": {
    "r": 137,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 69.677,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65816,
    "c": 0.14328,
    "h": 118.8
  },
  "luminance": 0.29542
}

Semantic roles & 50–950 ramp

primary
#899D21
secondary
#6A59C1
accent
#40E85B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899D21

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

Preview Lab → · Contrast checker → · Palette generator →

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