#897322#897322

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

Color values

HEX#897322
RGBrgb(137, 115, 34)
HSLhsl(47, 60%, 34%)
HSVhsv(47, 75%, 54%)
CMYKcmyk(0%, 16.1%, 75.2%, 46.3%)
CIE-LABlab(49.13, -0.46, 45.54)
CIE-LCHlch(49.13, 45.54, 90.58°)
OKLaboklab(56.13% -0.0058 0.1008)
OKLCHoklch(56.13% 0.101 93.3)
XYZxyz(16.7369, 17.6963, 4.0472)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897322 #223889
analogous
#893F22 #897322 #6B8922
triadic
#897322 #228973 #732289
tetradic
#897322 #22893F #223889 #89226B
square
#897322 #22893F #223889 #89226B
split-complementary
#897322 #226B89 #3F2289
monochromatic
#27210A #584A16 #897322 #BA9C2E #D4B851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897322#FFFFFF#000000##FFFFFF
##8973221.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)
#807115
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#946963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897322;
/* rgb */ color: rgb(137, 115, 34);
/* oklch */ color: oklch(56.1% 0.101 93.3);
Tailwind
colors: {
  custom: {
    50: '#af9b63',
    500: '#897322',
    950: '#000000',
  },
}
SCSS
$custom: #897322;
$custom-light: #af9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#897322",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 47.184,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56133,
    "c": 0.10093,
    "h": 93.3
  },
  "luminance": 0.17695
}

Semantic roles & 50–950 ramp

primary
#897322
secondary
#4F66B8
accent
#66E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897322

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

Preview Lab → · Contrast checker → · Palette generator →

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