#898D18#898D18

#898D18 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 62.0% C 0.130 H 111.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#898D18
RGBrgb(137, 141, 24)
HSLhsl(62, 71%, 32%)
HSVhsv(62, 83%, 55%)
CMYKcmyk(2.8%, 0%, 83%, 44.7%)
CIE-LABlab(56.52, -15.16, 55.75)
CIE-LCHlch(56.52, 57.78, 105.21°)
OKLaboklab(62% -0.0481 0.1206)
OKLCHoklch(62% 0.13 111.7)
XYZxyz(20.0070, 24.4346, 4.5264)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898D18 #1C188D
analogous
#8D5618 #898D18 #4F8D18
triadic
#898D18 #18898D #8D1889
tetradic
#898D18 #188D56 #1C188D #8D184F
square
#898D18 #188D56 #1C188D #8D184F
split-complementary
#898D18 #184F8D #56188D
monochromatic
#232406 #56590F #898D18 #BCC121 #D9DF41

Accessibility & contrast

On white

3.57
#898D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#898D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898D18
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898D18#FFFFFF#000000##000000
##898D181.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#938478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898d18;
/* rgb */ color: rgb(137, 141, 24);
/* oklch */ color: oklch(62.0% 0.130 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae62',
    500: '#898d18',
    950: '#000000',
  },
}
SCSS
$custom: #898d18;
$custom-light: #afae62;
$custom-dark: #000000;
JSON
{
  "hex": "#898d18",
  "rgb": {
    "r": 137,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 62.051,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.1298,
    "h": 111.7
  },
  "luminance": 0.24434
}

Semantic roles & 50–950 ramp

primary
#898D18
secondary
#4642BF
accent
#3AEE40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898D18

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

Preview Lab → · Contrast checker → · Palette generator →

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