#899A20#899A20

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

Color values

HEX#899A20
RGBrgb(137, 154, 32)
HSLhsl(68, 66%, 36%)
HSVhsv(68, 79%, 60%)
CMYKcmyk(11%, 0%, 79.2%, 39.6%)
CIE-LABlab(60.37, -21.56, 56.82)
CIE-LCHlch(60.37, 60.77, 110.78°)
OKLaboklab(65.1% -0.0651 0.1243)
OKLCHoklch(65.1% 0.14 117.6)
XYZxyz(22.1334, 28.5341, 5.7079)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899A20 #31209A
analogous
#9A6E20 #899A20 #4C9A20
triadic
#899A20 #20899A #9A2089
tetradic
#899A20 #209A6E #31209A #9A204C
square
#899A20 #209A6E #31209A #9A204C
split-complementary
#899A20 #204C9A #6E209A
monochromatic
#2F350B #5C6715 #899A20 #B6CD2B #CADC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##899A20#FFFFFF#000000##000000
##899A201.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: #899a20;
/* rgb */ color: rgb(137, 154, 32);
/* oklch */ color: oklch(65.1% 0.140 117.6);
Tailwind
colors: {
  custom: {
    50: '#afb767',
    500: '#899a20',
    950: '#000000',
  },
}
SCSS
$custom: #899a20;
$custom-light: #afb767;
$custom-dark: #000000;
JSON
{
  "hex": "#899a20",
  "rgb": {
    "r": 137,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 68.361,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65099,
    "c": 0.14033,
    "h": 117.6
  },
  "luminance": 0.28534
}

Semantic roles & 50–950 ramp

primary
#899A20
secondary
#6456C0
accent
#3FE957
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #899A20

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

Preview Lab → · Contrast checker → · Palette generator →

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