#898915#898915

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

Color values

HEX#898915
RGBrgb(137, 137, 21)
HSLhsl(60, 73%, 31%)
HSVhsv(60, 85%, 54%)
CMYKcmyk(0%, 0%, 84.7%, 46.3%)
CIE-LABlab(55.34, -13.13, 55.55)
CIE-LCHlch(55.34, 57.08, 103.30°)
OKLaboklab(61.05% -0.0427 0.1196)
OKLCHoklch(61.05% 0.127 109.6)
XYZxyz(19.3983, 23.2644, 4.1780)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898915 #151589
analogous
#894F15 #898915 #4F8915
triadic
#898915 #158989 #891589
tetradic
#898915 #15894F #151589 #89154F
square
#898915 #15894F #151589 #89154F
split-complementary
#898915 #154F89 #4F1589
monochromatic
#1F1F05 #54540D #898915 #BEBE1D #E0E038

Accessibility & contrast

On white

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

On black

5.65
#898915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898915
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898915#FFFFFF#000000##000000
##8989151.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898915;
/* rgb */ color: rgb(137, 137, 21);
/* oklch */ color: oklch(61.1% 0.127 109.6);
Tailwind
colors: {
  custom: {
    50: '#afab60',
    500: '#898915',
    950: '#000000',
  },
}
SCSS
$custom: #898915;
$custom-light: #afab60;
$custom-dark: #000000;
JSON
{
  "hex": "#898915",
  "rgb": {
    "r": 137,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.12696,
    "h": 109.6
  },
  "luminance": 0.23264
}

Semantic roles & 50–950 ramp

primary
#898915
secondary
#3D3DBD
accent
#38F038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898915

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

Preview Lab → · Contrast checker → · Palette generator →

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