#897728#897728

#897728 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.100 H 96.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#897728
RGBrgb(137, 119, 40)
HSLhsl(49, 55%, 35%)
HSVhsv(49, 71%, 54%)
CMYKcmyk(0%, 13.1%, 70.8%, 46.3%)
CIE-LABlab(50.29, -2.41, 44.15)
CIE-LCHlch(50.29, 44.21, 93.12°)
OKLaboklab(57.07% -0.0106 0.099)
OKLCHoklch(57.07% 0.1 96.1)
XYZxyz(17.2972, 18.6661, 4.6989)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897728 #283A89
analogous
#894728 #897728 #6B8928
triadic
#897728 #288977 #772889
tetradic
#897728 #288947 #283A89 #89286B
square
#897728 #288947 #283A89 #89286B
split-complementary
#897728 #286B89 #472889
monochromatic
#2A250C #5A4E1A #897728 #B8A036 #CFBA5C

Accessibility & contrast

On white

4.44
#897728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#897728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897728
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897728#FFFFFF#000000##000000
##8977281.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#946E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897728;
/* rgb */ color: rgb(137, 119, 40);
/* oklch */ color: oklch(57.1% 0.100 96.1);
Tailwind
colors: {
  custom: {
    50: '#af9d67',
    500: '#897728',
    950: '#000000',
  },
}
SCSS
$custom: #897728;
$custom-light: #af9d67;
$custom-dark: #000000;
JSON
{
  "hex": "#897728",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 48.866,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.09956,
    "h": 96.1
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#897728
secondary
#5869B5
accent
#65DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897728

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

Preview Lab → · Contrast checker → · Palette generator →

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