#898917#898917

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

Color values

HEX#898917
RGBrgb(137, 137, 23)
HSLhsl(60, 71%, 31%)
HSVhsv(60, 83%, 54%)
CMYKcmyk(0%, 0%, 83.2%, 46.3%)
CIE-LABlab(55.35, -13.07, 55.02)
CIE-LCHlch(55.35, 56.55, 103.36°)
OKLaboklab(61.06% -0.0423 0.1188)
OKLCHoklch(61.06% 0.126 109.6)
XYZxyz(19.4176, 23.2722, 4.2796)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898917 #171789
analogous
#895017 #898917 #508917
triadic
#898917 #178989 #891789
tetradic
#898917 #178950 #171789 #891750
square
#898917 #178950 #171789 #891750
split-complementary
#898917 #175089 #501789
monochromatic
#202005 #55550E #898917 #BDBD20 #DEDE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898917#FFFFFF#000000##000000
##8989171.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)
#968622
Tritanopia (blue-blind)
#938075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #898917;
/* rgb */ color: rgb(137, 137, 23);
/* oklch */ color: oklch(61.1% 0.126 109.6);
Tailwind
colors: {
  custom: {
    50: '#afab61',
    500: '#898917',
    950: '#000000',
  },
}
SCSS
$custom: #898917;
$custom-light: #afab61;
$custom-dark: #000000;
JSON
{
  "hex": "#898917",
  "rgb": {
    "r": 137,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.61063,
    "c": 0.12612,
    "h": 109.6
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#898917
secondary
#3F3FBD
accent
#3AEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #898917

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

Preview Lab → · Contrast checker → · Palette generator →

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