#898015#898015

#898015 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#898015
RGBrgb(137, 128, 21)
HSLhsl(55, 73%, 31%)
HSVhsv(55, 85%, 54%)
CMYKcmyk(0%, 6.6%, 84.7%, 46.3%)
CIE-LABlab(52.74, -8.26, 53.34)
CIE-LCHlch(52.74, 53.98, 98.80°)
OKLaboklab(58.98% -0.0291 0.1148)
OKLCHoklch(58.98% 0.118 104.2)
XYZxyz(18.1719, 20.8116, 3.7692)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898015 #151E89
analogous
#894615 #898015 #588915
triadic
#898015 #158980 #801589
tetradic
#898015 #158946 #151E89 #891558
square
#898015 #158946 #151E89 #891558
split-complementary
#898015 #155889 #461589
monochromatic
#1F1D05 #544E0D #898015 #BEB21D #E0D338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #898015;
/* rgb */ color: rgb(137, 128, 21);
/* oklch */ color: oklch(59.0% 0.118 104.2);
Tailwind
colors: {
  custom: {
    50: '#afa45f',
    500: '#898015',
    950: '#000000',
  },
}
SCSS
$custom: #898015;
$custom-light: #afa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#898015",
  "rgb": {
    "r": 137,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 55.345,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58979,
    "c": 0.11841,
    "h": 104.2
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#898015
secondary
#3D47BD
accent
#46F038
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #898015

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

Preview Lab → · Contrast checker → · Palette generator →

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