#897828#897828

#897828 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.3% C 0.100 H 97.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#897828
RGBrgb(137, 120, 40)
HSLhsl(49, 55%, 35%)
HSVhsv(49, 71%, 54%)
CMYKcmyk(0%, 12.4%, 70.8%, 46.3%)
CIE-LABlab(50.58, -2.97, 44.44)
CIE-LCHlch(50.58, 44.54, 93.82°)
OKLaboklab(57.29% -0.0123 0.0996)
OKLCHoklch(57.29% 0.1 97)
XYZxyz(17.4168, 18.9054, 4.7388)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897828 #283989
analogous
#894828 #897828 #698928
triadic
#897828 #288978 #782889
tetradic
#897828 #288948 #283989 #892869
square
#897828 #288948 #283989 #892869
split-complementary
#897828 #286989 #482889
monochromatic
#2A250C #5A4F1A #897828 #B8A136 #CFBB5C

Accessibility & contrast

On white

4.39
#897828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#897828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897828
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897828#FFFFFF#000000##000000
##8978281.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751D
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#946F68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897828;
/* rgb */ color: rgb(137, 120, 40);
/* oklch */ color: oklch(57.3% 0.100 97.0);
Tailwind
colors: {
  custom: {
    50: '#ae9e67',
    500: '#897828',
    950: '#000000',
  },
}
SCSS
$custom: #897828;
$custom-light: #ae9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#897828",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 49.485,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.10035,
    "h": 97
  },
  "luminance": 0.18905
}

Semantic roles & 50–950 ramp

primary
#897828
secondary
#5868B5
accent
#64DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897828

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

Preview Lab → · Contrast checker → · Palette generator →

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