#898F17#898F17

#898F17 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.132 H 112.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#898F17
RGBrgb(137, 143, 23)
HSLhsl(63, 72%, 33%)
HSVhsv(63, 84%, 56%)
CMYKcmyk(4.2%, 0%, 83.9%, 43.9%)
CIE-LABlab(57.10, -16.24, 56.52)
CIE-LCHlch(57.10, 58.81, 106.03°)
OKLaboklab(62.46% -0.0511 0.1221)
OKLCHoklch(62.46% 0.132 112.7)
XYZxyz(20.2943, 25.0256, 4.5718)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F17 #1D178F
analogous
#8F5917 #898F17 #4D8F17
triadic
#898F17 #17898F #8F1789
tetradic
#898F17 #178F59 #1D178F #8F174D
square
#898F17 #178F59 #1D178F #8F174D
split-complementary
#898F17 #174D8F #59178F
monochromatic
#242606 #565A0F #898F17 #BCC41F #D8E040

Accessibility & contrast

On white

3.50
#898F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#898F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F17
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F17#FFFFFF#000000##000000
##898F171.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8A23
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f17;
/* rgb */ color: rgb(137, 143, 23);
/* oklch */ color: oklch(62.5% 0.132 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf62',
    500: '#898f17',
    950: '#000000',
  },
}
SCSS
$custom: #898f17;
$custom-light: #afaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#898f17",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 63,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62462,
    "c": 0.13232,
    "h": 112.7
  },
  "luminance": 0.25025
}

Semantic roles & 50–950 ramp

primary
#898F17
secondary
#4741C1
accent
#39EF42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F17

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

Preview Lab → · Contrast checker → · Palette generator →

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