#898628#898628

#898628 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.113 H 107.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#898628
RGBrgb(137, 134, 40)
HSLhsl(58, 55%, 35%)
HSVhsv(58, 71%, 54%)
CMYKcmyk(0%, 2.2%, 70.8%, 46.3%)
CIE-LABlab(54.58, -10.71, 48.47)
CIE-LCHlch(54.58, 49.64, 102.46°)
OKLaboklab(60.47% -0.0342 0.1081)
OKLCHoklch(60.47% 0.113 107.5)
XYZxyz(19.2253, 22.5224, 5.3416)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898628 #282B89
analogous
#895528 #898628 #5C8928
triadic
#898628 #288986 #862889
tetradic
#898628 #288955 #282B89 #89285C
square
#898628 #288955 #282B89 #89285C
split-complementary
#898628 #285C89 #552889
monochromatic
#2A290C #5A581A #898628 #B8B436 #CFCC5C

Accessibility & contrast

On white

3.82
#898628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#898628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898628
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898628#FFFFFF#000000##000000
##8986281.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918119
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#937D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #898628;
/* rgb */ color: rgb(137, 134, 40);
/* oklch */ color: oklch(60.5% 0.113 107.5);
Tailwind
colors: {
  custom: {
    50: '#aea968',
    500: '#898628',
    950: '#000000',
  },
}
SCSS
$custom: #898628;
$custom-light: #aea968;
$custom-dark: #000000;
JSON
{
  "hex": "#898628",
  "rgb": {
    "r": 137,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 58.144,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60474,
    "c": 0.11338,
    "h": 107.5
  },
  "luminance": 0.22522
}

Semantic roles & 50–950 ramp

primary
#898628
secondary
#585BB5
accent
#4EDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898628

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

Preview Lab → · Contrast checker → · Palette generator →

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