#898918#898918

#898918 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.126 H 109.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#898918
RGBrgb(137, 137, 24)
HSLhsl(60, 70%, 32%)
HSVhsv(60, 82%, 54%)
CMYKcmyk(0%, 0%, 82.5%, 46.3%)
CIE-LABlab(55.36, -13.04, 54.74)
CIE-LCHlch(55.36, 56.27, 103.39°)
OKLaboklab(61.07% -0.0422 0.1184)
OKLCHoklch(61.07% 0.126 109.6)
XYZxyz(19.4278, 23.2762, 4.3334)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898918 #181889
analogous
#895118 #898918 #518918
triadic
#898918 #188989 #891889
tetradic
#898918 #188951 #181889 #891851
square
#898918 #188951 #181889 #891851
split-complementary
#898918 #185189 #511889
monochromatic
#212106 #55550F #898918 #BDBD21 #DDDD3E

Accessibility & contrast

On white

3.71
#898918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#898918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898918
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898918#FFFFFF#000000##000000
##8989181.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#938075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #898918;
/* rgb */ color: rgb(137, 137, 24);
/* oklch */ color: oklch(61.1% 0.126 109.6);
Tailwind
colors: {
  custom: {
    50: '#afab61',
    500: '#898918',
    950: '#000000',
  },
}
SCSS
$custom: #898918;
$custom-light: #afab61;
$custom-dark: #000000;
JSON
{
  "hex": "#898918",
  "rgb": {
    "r": 137,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61067,
    "c": 0.12568,
    "h": 109.6
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#898918
secondary
#4040BD
accent
#3BED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898918

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

Preview Lab → · Contrast checker → · Palette generator →

#898918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva