#898720#898720

#898720 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.6% C 0.120 H 108.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#898720
RGBrgb(137, 135, 32)
HSLhsl(59, 62%, 33%)
HSVhsv(59, 77%, 54%)
CMYKcmyk(0%, 1.5%, 76.6%, 46.3%)
CIE-LABlab(54.82, -11.65, 51.72)
CIE-LCHlch(54.82, 53.01, 102.69°)
OKLaboklab(60.65% -0.0376 0.1135)
OKLCHoklch(60.65% 0.12 108.3)
XYZxyz(19.2420, 22.7512, 4.7441)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898720 #202289
analogous
#895220 #898720 #568920
triadic
#898720 #208987 #872089
tetradic
#898720 #208952 #202289 #892056
square
#898720 #208952 #202289 #892056
split-complementary
#898720 #205689 #522089
monochromatic
#262509 #575614 #898720 #BBB82C #D6D34E

Accessibility & contrast

On white

3.78
#898720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#898720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898720
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898720#FFFFFF#000000##000000
##8987201.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938108
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#937E74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #898720;
/* rgb */ color: rgb(137, 135, 32);
/* oklch */ color: oklch(60.6% 0.120 108.3);
Tailwind
colors: {
  custom: {
    50: '#afa964',
    500: '#898720',
    950: '#000000',
  },
}
SCSS
$custom: #898720;
$custom-light: #afa964;
$custom-dark: #000000;
JSON
{
  "hex": "#898720",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 58.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.11955,
    "h": 108.3
  },
  "luminance": 0.22751
}

Semantic roles & 50–950 ramp

primary
#898720
secondary
#4C4EB9
accent
#46E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #898720

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

Preview Lab → · Contrast checker → · Palette generator →

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