#897328#897328

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

Color values

HEX#897328
RGBrgb(137, 115, 40)
HSLhsl(46, 55%, 35%)
HSVhsv(46, 71%, 54%)
CMYKcmyk(0%, 16.1%, 70.8%, 46.3%)
CIE-LABlab(49.17, -0.14, 42.99)
CIE-LCHlch(49.17, 43.00, 90.18°)
OKLaboklab(56.18% -0.0041 0.0966)
OKLCHoklch(56.18% 0.097 92.5)
XYZxyz(16.8311, 17.7340, 4.5435)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897328 #283E89
analogous
#894328 #897328 #6E8928
triadic
#897328 #288973 #732889
tetradic
#897328 #288943 #283E89 #89286E
square
#897328 #288943 #283E89 #89286E
split-complementary
#897328 #286E89 #432889
monochromatic
#2A230C #5A4B1A #897328 #B89B36 #CFB55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897328#FFFFFF#000000##FFFFFF
##8973281.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)
#80711E
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#946A64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897328;
/* rgb */ color: rgb(137, 115, 40);
/* oklch */ color: oklch(56.2% 0.097 92.5);
Tailwind
colors: {
  custom: {
    50: '#af9b66',
    500: '#897328',
    950: '#000000',
  },
}
SCSS
$custom: #897328;
$custom-light: #af9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#897328",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 46.392,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.09664,
    "h": 92.5
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#897328
secondary
#586DB5
accent
#6BDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897328

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

Preview Lab → · Contrast checker → · Palette generator →

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