#899817#899817

#899817 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.6% C 0.142 H 116.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#899817
RGBrgb(137, 152, 23)
HSLhsl(67, 74%, 34%)
HSVhsv(67, 85%, 60%)
CMYKcmyk(9.9%, 0%, 84.9%, 40.4%)
CIE-LABlab(59.74, -20.88, 58.78)
CIE-LCHlch(59.74, 62.37, 109.56°)
OKLaboklab(64.58% -0.0639 0.1269)
OKLCHoklch(64.58% 0.142 116.7)
XYZxyz(21.7000, 27.8370, 5.0404)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899817 #261798
analogous
#986717 #899817 #499817
triadic
#899817 #178998 #981789
tetradic
#899817 #179867 #261798 #981749
square
#899817 #179867 #261798 #981749
split-complementary
#899817 #174998 #671798
monochromatic
#292E07 #59630F #899817 #B9CD1F #D1E346

Accessibility & contrast

On white

3.20
#899817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#899817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899817
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899817#FFFFFF#000000##000000
##8998171.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A29125
Tritanopia (blue-blind)
#928F81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #899817;
/* rgb */ color: rgb(137, 152, 23);
/* oklch */ color: oklch(64.6% 0.142 116.7);
Tailwind
colors: {
  custom: {
    50: '#afb663',
    500: '#899817',
    950: '#000000',
  },
}
SCSS
$custom: #899817;
$custom-light: #afb663;
$custom-dark: #000000;
JSON
{
  "hex": "#899817",
  "rgb": {
    "r": 137,
    "g": 152,
    "b": 23
  },
  "hsl": {
    "h": 66.977,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64582,
    "c": 0.14209,
    "h": 116.7
  },
  "luminance": 0.27837
}

Semantic roles & 50–950 ramp

primary
#899817
secondary
#5547C4
accent
#37F04D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #899817

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

Preview Lab → · Contrast checker → · Palette generator →

#899817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva