#897331#897331

#897331 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.3% C 0.089 H 90.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#897331
RGBrgb(137, 115, 49)
HSLhsl(45, 47%, 36%)
HSVhsv(45, 64%, 54%)
CMYKcmyk(0%, 16.1%, 64.2%, 46.3%)
CIE-LABlab(49.26, 0.45, 38.82)
CIE-LCHlch(49.26, 38.82, 89.33°)
OKLaboklab(56.28% -0.0013 0.0892)
OKLCHoklch(56.28% 0.089 90.8)
XYZxyz(17.0024, 17.8025, 5.4458)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897331 #314789
analogous
#894731 #897331 #738931
triadic
#897331 #318973 #733189
tetradic
#897331 #318947 #314789 #893173
square
#897331 #318947 #314789 #893173
split-complementary
#897331 #317389 #473189
monochromatic
#2F2711 #5C4D21 #897331 #B69941 #CAB26B

Accessibility & contrast

On white

4.60
#897331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#897331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #897331
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897331#FFFFFF#000000##FFFFFF
##8973311.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712A
Deuteranopia (green-blind)
#847834
Tritanopia (blue-blind)
#946A65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897331;
/* rgb */ color: rgb(137, 115, 49);
/* oklch */ color: oklch(56.3% 0.089 90.8);
Tailwind
colors: {
  custom: {
    50: '#ae9b6c',
    500: '#897331',
    950: '#000000',
  },
}
SCSS
$custom: #897331;
$custom-light: #ae9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#897331",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 45,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.0892,
    "h": 90.8
  },
  "luminance": 0.17802
}

Semantic roles & 50–950 ramp

primary
#897331
secondary
#6478B1
accent
#72D751
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #897331

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

Preview Lab → · Contrast checker → · Palette generator →

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