#899F17#899F17

#899F17 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.2% C 0.150 H 119.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#899F17
RGBrgb(137, 159, 23)
HSLhsl(70, 75%, 36%)
HSVhsv(70, 86%, 62%)
CMYKcmyk(13.8%, 0%, 85.5%, 37.6%)
CIE-LABlab(61.81, -24.38, 60.53)
CIE-LCHlch(61.81, 65.26, 111.94°)
OKLaboklab(66.25% -0.0735 0.1307)
OKLCHoklch(66.25% 0.15 119.3)
XYZxyz(22.8698, 30.1766, 5.4303)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899F17 #2D179F
analogous
#9F7117 #899F17 #459F17
triadic
#899F17 #17899F #9F1789
tetradic
#899F17 #179F71 #2D179F #9F1745
square
#899F17 #179F71 #2D179F #9F1745
split-complementary
#899F17 #17459F #71179F
monochromatic
#2D3408 #5B6A0F #899F17 #B7D41F #CCE54B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##899F17#FFFFFF#000000##000000
##899F171.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)
#A79627
Tritanopia (blue-blind)
#929687
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #899f17;
/* rgb */ color: rgb(137, 159, 23);
/* oklch */ color: oklch(66.2% 0.150 119.3);
Tailwind
colors: {
  custom: {
    50: '#afbb64',
    500: '#899f17',
    950: '#000000',
  },
}
SCSS
$custom: #899f17;
$custom-light: #afbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#899f17",
  "rgb": {
    "r": 137,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 69.706,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66245,
    "c": 0.14994,
    "h": 119.3
  },
  "luminance": 0.30177
}

Semantic roles & 50–950 ramp

primary
#899F17
secondary
#5F4BC7
accent
#36F155
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #899F17

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

Preview Lab → · Contrast checker → · Palette generator →

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