#898E17#898E17

#898E17 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.131 H 112.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#898E17
RGBrgb(137, 142, 23)
HSLhsl(63, 72%, 32%)
HSVhsv(63, 84%, 56%)
CMYKcmyk(3.5%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.81, -15.72, 56.27)
CIE-LCHlch(56.81, 58.42, 105.61°)
OKLaboklab(62.23% -0.0497 0.1215)
OKLCHoklch(62.23% 0.131 112.2)
XYZxyz(20.1449, 24.7267, 4.5220)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E17 #1C178E
analogous
#8E5817 #898E17 #4E8E17
triadic
#898E17 #17898E #8E1789
tetradic
#898E17 #178E58 #1C178E #8E174E
square
#898E17 #178E58 #1C178E #8E174E
split-complementary
#898E17 #174E8E #58178E
monochromatic
#232506 #56590E #898E17 #BCC320 #D9E03F

Accessibility & contrast

On white

3.53
#898E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#898E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E17
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E17#FFFFFF#000000##000000
##898E171.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8A23
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e17;
/* rgb */ color: rgb(137, 142, 23);
/* oklch */ color: oklch(62.2% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae61',
    500: '#898e17',
    950: '#000000',
  },
}
SCSS
$custom: #898e17;
$custom-light: #afae61;
$custom-dark: #000000;
JSON
{
  "hex": "#898e17",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 62.521,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62228,
    "c": 0.13127,
    "h": 112.2
  },
  "luminance": 0.24726
}

Semantic roles & 50–950 ramp

primary
#898E17
secondary
#4640C0
accent
#39EF41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E17

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

Preview Lab → · Contrast checker → · Palette generator →

#898E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva