#897327#897327

#897327 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.2% C 0.097 H 92.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#897327
RGBrgb(137, 115, 39)
HSLhsl(47, 56%, 35%)
HSVhsv(47, 72%, 54%)
CMYKcmyk(0%, 16.1%, 71.5%, 46.3%)
CIE-LABlab(49.16, -0.19, 43.43)
CIE-LCHlch(49.16, 43.43, 90.26°)
OKLaboklab(56.18% -0.0044 0.0973)
OKLCHoklch(56.18% 0.097 92.6)
XYZxyz(16.8143, 17.7273, 4.4551)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897327 #273D89
analogous
#894227 #897327 #6E8927
triadic
#897327 #278973 #732789
tetradic
#897327 #278942 #273D89 #89276E
square
#897327 #278942 #273D89 #89276E
split-complementary
#897327 #276E89 #422789
monochromatic
#2A230C #594B19 #897327 #B99B35 #D0B65A

Accessibility & contrast

On white

4.62
#897327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#897327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #897327
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897327#FFFFFF#000000##FFFFFF
##8973271.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711D
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#946A63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897327;
/* rgb */ color: rgb(137, 115, 39);
/* oklch */ color: oklch(56.2% 0.097 92.6);
Tailwind
colors: {
  custom: {
    50: '#af9b66',
    500: '#897327',
    950: '#000000',
  },
}
SCSS
$custom: #897327;
$custom-light: #af9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#897327",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 46.531,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.09739,
    "h": 92.6
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#897327
secondary
#576CB5
accent
#6BDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897327

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

Preview Lab → · Contrast checker → · Palette generator →

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