#899D20#899D20

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

Color values

HEX#899D20
RGBrgb(137, 157, 32)
HSLhsl(70, 66%, 37%)
HSVhsv(70, 80%, 62%)
CMYKcmyk(12.7%, 0%, 79.6%, 38.4%)
CIE-LABlab(61.25, -23.07, 57.62)
CIE-LCHlch(61.25, 62.06, 111.82°)
OKLaboklab(65.81% -0.0693 0.126)
OKLCHoklch(65.81% 0.144 118.8)
XYZxyz(22.6347, 29.5368, 5.8750)
Luminance0.2954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899D20 #34209D
analogous
#9D7320 #899D20 #4B9D20
triadic
#899D20 #20899D #9D2089
tetradic
#899D20 #209D73 #34209D #9D204B
square
#899D20 #209D73 #34209D #9D204B
split-complementary
#899D20 #204B9D #73209D
monochromatic
#30370B #5D6A16 #899D20 #B5D02A #C8DD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##899D20#FFFFFF#000000##000000
##899D201.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)
#A5942C
Tritanopia (blue-blind)
#929486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #899d20;
/* rgb */ color: rgb(137, 157, 32);
/* oklch */ color: oklch(65.8% 0.144 118.8);
Tailwind
colors: {
  custom: {
    50: '#afb967',
    500: '#899d20',
    950: '#000000',
  },
}
SCSS
$custom: #899d20;
$custom-light: #afb967;
$custom-dark: #000000;
JSON
{
  "hex": "#899d20",
  "rgb": {
    "r": 137,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 69.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6581,
    "c": 0.14378,
    "h": 118.8
  },
  "luminance": 0.29537
}

Semantic roles & 50–950 ramp

primary
#899D20
secondary
#6857C1
accent
#3FE95A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #899D20

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

Preview Lab → · Contrast checker → · Palette generator →

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