#897420#897420

#897420 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.3% C 0.103 H 94.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#897420
RGBrgb(137, 116, 32)
HSLhsl(48, 62%, 33%)
HSVhsv(48, 77%, 54%)
CMYKcmyk(0%, 15.3%, 76.6%, 46.3%)
CIE-LABlab(49.39, -1.13, 46.60)
CIE-LCHlch(49.39, 46.62, 91.39°)
OKLaboklab(56.34% -0.0079 0.1026)
OKLCHoklch(56.34% 0.103 94.4)
XYZxyz(16.8235, 17.9144, 3.9379)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897420 #203589
analogous
#893F20 #897420 #698920
triadic
#897420 #208974 #742089
tetradic
#897420 #20893F #203589 #892069
square
#897420 #20893F #203589 #892069
split-complementary
#897420 #206989 #3F2089
monochromatic
#262009 #574A14 #897420 #BB9E2C #D6BA4E

Accessibility & contrast

On white

4.58
#897420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#897420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897420
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897420#FFFFFF#000000##000000
##8974201.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#817211
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#946A64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897420;
/* rgb */ color: rgb(137, 116, 32);
/* oklch */ color: oklch(56.3% 0.103 94.4);
Tailwind
colors: {
  custom: {
    50: '#af9b62',
    500: '#897420',
    950: '#000000',
  },
}
SCSS
$custom: #897420;
$custom-light: #af9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#897420",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 48,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.10292,
    "h": 94.4
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#897420
secondary
#4C62B9
accent
#63E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897420

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

Preview Lab → · Contrast checker → · Palette generator →

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