#897321#897321

#897321 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.1% C 0.102 H 93.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#897321
RGBrgb(137, 115, 33)
HSLhsl(47, 61%, 33%)
HSVhsv(47, 76%, 54%)
CMYKcmyk(0%, 16.1%, 75.9%, 46.3%)
CIE-LABlab(49.12, -0.51, 45.94)
CIE-LCHlch(49.12, 45.94, 90.64°)
OKLaboklab(56.13% -0.0061 0.1014)
OKLCHoklch(56.13% 0.102 93.4)
XYZxyz(16.7227, 17.6906, 3.9724)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897321 #213789
analogous
#893F21 #897321 #6B8921
triadic
#897321 #218973 #732189
tetradic
#897321 #21893F #213789 #89216B
square
#897321 #21893F #213789 #89216B
split-complementary
#897321 #216B89 #3F2189
monochromatic
#262009 #584A15 #897321 #BA9C2D #D5B950

Accessibility & contrast

On white

4.63
#897321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#897321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #897321
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897321#FFFFFF#000000##FFFFFF
##8973211.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#946963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897321;
/* rgb */ color: rgb(137, 115, 33);
/* oklch */ color: oklch(56.1% 0.102 93.4);
Tailwind
colors: {
  custom: {
    50: '#af9b62',
    500: '#897321',
    950: '#000000',
  },
}
SCSS
$custom: #897321;
$custom-light: #af9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#897321",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 33
  },
  "hsl": {
    "h": 47.308,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.10159,
    "h": 93.4
  },
  "luminance": 0.1769
}

Semantic roles & 50–950 ramp

primary
#897321
secondary
#4E64B8
accent
#66E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897321

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

Preview Lab → · Contrast checker → · Palette generator →

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