#898818#898818

#898818 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.8% C 0.125 H 109.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#898818
RGBrgb(137, 136, 24)
HSLhsl(59, 70%, 32%)
HSVhsv(59, 82%, 54%)
CMYKcmyk(0%, 0.7%, 82.5%, 46.3%)
CIE-LABlab(55.07, -12.50, 54.49)
CIE-LCHlch(55.07, 55.91, 102.92°)
OKLaboklab(60.83% -0.0407 0.1179)
OKLCHoklch(60.83% 0.125 109)
XYZxyz(19.2863, 22.9933, 4.2862)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898818 #181989
analogous
#895018 #898818 #528918
triadic
#898818 #188988 #881889
tetradic
#898818 #188950 #181989 #891852
square
#898818 #188950 #181989 #891852
split-complementary
#898818 #185289 #501889
monochromatic
#212106 #55540F #898818 #BDBC21 #DDDC3E

Accessibility & contrast

On white

3.75
#898818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#898818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898818
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898818#FFFFFF#000000##000000
##8988181.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#937F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #898818;
/* rgb */ color: rgb(137, 136, 24);
/* oklch */ color: oklch(60.8% 0.125 109.0);
Tailwind
colors: {
  custom: {
    50: '#afaa61',
    500: '#898818',
    950: '#000000',
  },
}
SCSS
$custom: #898818;
$custom-light: #afaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#898818",
  "rgb": {
    "r": 137,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 59.469,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.12468,
    "h": 109
  },
  "luminance": 0.22993
}

Semantic roles & 50–950 ramp

primary
#898818
secondary
#4041BD
accent
#3CED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898818

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

Preview Lab → · Contrast checker → · Palette generator →

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