#898B18#898B18

#898B18 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.5% C 0.128 H 110.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#898B18
RGBrgb(137, 139, 24)
HSLhsl(61, 71%, 32%)
HSVhsv(61, 83%, 55%)
CMYKcmyk(1.4%, 0%, 82.7%, 45.5%)
CIE-LABlab(55.94, -14.10, 55.25)
CIE-LCHlch(55.94, 57.02, 104.32°)
OKLaboklab(61.53% -0.0451 0.1195)
OKLCHoklch(61.53% 0.128 110.7)
XYZxyz(19.7148, 23.8501, 4.4290)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898B18 #1A188B
analogous
#8B5318 #898B18 #508B18
triadic
#898B18 #18898B #8B1889
tetradic
#898B18 #188B53 #1A188B #8B1850
square
#898B18 #188B53 #1A188B #8B1850
split-complementary
#898B18 #18508B #53188B
monochromatic
#222306 #56570F #898B18 #BCBF21 #DBDE3F

Accessibility & contrast

On white

3.64
#898B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#898B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898B18
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898B18#FFFFFF#000000##000000
##898B181.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#988723
Tritanopia (blue-blind)
#938276
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #898b18;
/* rgb */ color: rgb(137, 139, 24);
/* oklch */ color: oklch(61.5% 0.128 110.7);
Tailwind
colors: {
  custom: {
    50: '#afac61',
    500: '#898b18',
    950: '#000000',
  },
}
SCSS
$custom: #898b18;
$custom-light: #afac61;
$custom-dark: #000000;
JSON
{
  "hex": "#898b18",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 61.043,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61532,
    "c": 0.12772,
    "h": 110.7
  },
  "luminance": 0.2385
}

Semantic roles & 50–950 ramp

primary
#898B18
secondary
#4340BE
accent
#3AED3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898B18

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

Preview Lab → · Contrast checker → · Palette generator →

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