#898018#898018

#898018 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.117 H 104.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#898018
RGBrgb(137, 128, 24)
HSLhsl(55, 70%, 32%)
HSVhsv(55, 82%, 54%)
CMYKcmyk(0%, 6.6%, 82.5%, 46.3%)
CIE-LABlab(52.76, -8.16, 52.48)
CIE-LCHlch(52.76, 53.11, 98.84°)
OKLaboklab(58.99% -0.0286 0.1135)
OKLCHoklch(58.99% 0.117 104.1)
XYZxyz(18.2014, 20.8234, 3.9246)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898018 #182189
analogous
#894818 #898018 #5A8918
triadic
#898018 #188980 #801889
tetradic
#898018 #188948 #182189 #89185A
square
#898018 #188948 #182189 #89185A
split-complementary
#898018 #185A89 #481889
monochromatic
#211F06 #554F0F #898018 #BDB121 #DDD13E

Accessibility & contrast

On white

4.07
#898018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#898018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898018
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898018#FFFFFF#000000##000000
##8980181.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#94766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #898018;
/* rgb */ color: rgb(137, 128, 24);
/* oklch */ color: oklch(59.0% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#afa460',
    500: '#898018',
    950: '#000000',
  },
}
SCSS
$custom: #898018;
$custom-light: #afa460;
$custom-dark: #000000;
JSON
{
  "hex": "#898018",
  "rgb": {
    "r": 137,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 55.221,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58993,
    "c": 0.11706,
    "h": 104.1
  },
  "luminance": 0.20823
}

Semantic roles & 50–950 ramp

primary
#898018
secondary
#404ABD
accent
#49ED3B
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898018

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

Preview Lab → · Contrast checker → · Palette generator →

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