#897820#897820

#897820 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.106 H 97.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#897820
RGBrgb(137, 120, 32)
HSLhsl(50, 62%, 33%)
HSVhsv(50, 77%, 54%)
CMYKcmyk(0%, 12.4%, 76.6%, 46.3%)
CIE-LABlab(50.52, -3.39, 47.68)
CIE-LCHlch(50.52, 47.80, 94.06°)
OKLaboklab(57.23% -0.0144 0.1049)
OKLCHoklch(57.23% 0.106 97.8)
XYZxyz(17.2946, 18.8565, 4.0949)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897820 #203189
analogous
#894420 #897820 #658920
triadic
#897820 #208978 #782089
tetradic
#897820 #208944 #203189 #892065
square
#897820 #208944 #203189 #892065
split-complementary
#897820 #206589 #442089
monochromatic
#262109 #574D14 #897820 #BBA32C #D6C04E

Accessibility & contrast

On white

4.40
#897820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#897820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897820
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897820#FFFFFF#000000##000000
##8978201.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#946E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897820;
/* rgb */ color: rgb(137, 120, 32);
/* oklch */ color: oklch(57.2% 0.106 97.8);
Tailwind
colors: {
  custom: {
    50: '#af9e62',
    500: '#897820',
    950: '#000000',
  },
}
SCSS
$custom: #897820;
$custom-light: #af9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#897820",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 50.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.10587,
    "h": 97.8
  },
  "luminance": 0.18856
}

Semantic roles & 50–950 ramp

primary
#897820
secondary
#4C5EB9
accent
#5DE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897820

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

Preview Lab → · Contrast checker → · Palette generator →

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