#898E19#898E19

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

Color values

HEX#898E19
RGBrgb(137, 142, 25)
HSLhsl(63, 70%, 33%)
HSVhsv(63, 82%, 56%)
CMYKcmyk(3.5%, 0%, 82.4%, 44.3%)
CIE-LABlab(56.82, -15.65, 55.73)
CIE-LCHlch(56.82, 57.89, 105.69°)
OKLaboklab(62.24% -0.0493 0.1207)
OKLCHoklch(62.24% 0.13 112.2)
XYZxyz(20.1657, 24.7351, 4.6316)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E19 #1E198E
analogous
#8E5819 #898E19 #4E8E19
triadic
#898E19 #19898E #8E1989
tetradic
#898E19 #198E58 #1E198E #8E194E
square
#898E19 #198E58 #1E198E #8E194E
split-complementary
#898E19 #194E8E #58198E
monochromatic
#252607 #575A10 #898E19 #BBC222 #D7DE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898E19#FFFFFF#000000##000000
##898E191.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)
#998700
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e19;
/* rgb */ color: rgb(137, 142, 25);
/* oklch */ color: oklch(62.2% 0.130 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae62',
    500: '#898e19',
    950: '#000000',
  },
}
SCSS
$custom: #898e19;
$custom-light: #afae62;
$custom-dark: #000000;
JSON
{
  "hex": "#898e19",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 62.564,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.1304,
    "h": 112.2
  },
  "luminance": 0.24735
}

Semantic roles & 50–950 ramp

primary
#898E19
secondary
#4944BF
accent
#3BED43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E19

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

Preview Lab → · Contrast checker → · Palette generator →

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