#898016#898016

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

Color values

HEX#898016
RGBrgb(137, 128, 22)
HSLhsl(55, 72%, 31%)
HSVhsv(55, 84%, 54%)
CMYKcmyk(0%, 6.6%, 83.9%, 46.3%)
CIE-LABlab(52.75, -8.23, 53.06)
CIE-LCHlch(52.75, 53.70, 98.82°)
OKLaboklab(58.98% -0.0289 0.1144)
OKLCHoklch(58.98% 0.118 104.2)
XYZxyz(18.1814, 20.8154, 3.8190)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898016 #161F89
analogous
#894616 #898016 #588916
triadic
#898016 #168980 #801689
tetradic
#898016 #168946 #161F89 #891658
square
#898016 #168946 #161F89 #891658
split-complementary
#898016 #165889 #461689
monochromatic
#201D05 #544F0E #898016 #BEB11E #DFD23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898016#FFFFFF#000000##000000
##8980161.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)
#8F8020
Tritanopia (blue-blind)
#94766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #898016;
/* rgb */ color: rgb(137, 128, 22);
/* oklch */ color: oklch(59.0% 0.118 104.2);
Tailwind
colors: {
  custom: {
    50: '#afa45f',
    500: '#898016',
    950: '#000000',
  },
}
SCSS
$custom: #898016;
$custom-light: #afa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#898016",
  "rgb": {
    "r": 137,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 55.304,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.11797,
    "h": 104.2
  },
  "luminance": 0.20815
}

Semantic roles & 50–950 ramp

primary
#898016
secondary
#3E48BD
accent
#47EF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898016

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

Preview Lab → · Contrast checker → · Palette generator →

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