#897819#897819

#897819 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.110 H 98.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#897819
RGBrgb(137, 120, 25)
HSLhsl(51, 69%, 32%)
HSVhsv(51, 82%, 54%)
CMYKcmyk(0%, 12.4%, 81.8%, 46.3%)
CIE-LABlab(50.48, -3.68, 50.15)
CIE-LCHlch(50.48, 50.29, 94.20°)
OKLaboklab(57.19% -0.0159 0.1087)
OKLCHoklch(57.19% 0.11 98.3)
XYZxyz(17.2094, 18.8224, 3.6461)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897819 #192A89
analogous
#894019 #897819 #628919
triadic
#897819 #198978 #781989
tetradic
#897819 #198940 #192A89 #891962
square
#897819 #198940 #192A89 #891962
split-complementary
#897819 #196289 #401989
monochromatic
#211D06 #554B10 #897819 #BDA522 #DCC540

Accessibility & contrast

On white

4.41
#897819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#897819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897819
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897819#FFFFFF#000000##000000
##8978191.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#897B20
Tritanopia (blue-blind)
#946E66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897819;
/* rgb */ color: rgb(137, 120, 25);
/* oklch */ color: oklch(57.2% 0.110 98.3);
Tailwind
colors: {
  custom: {
    50: '#af9e5f',
    500: '#897819',
    950: '#000000',
  },
}
SCSS
$custom: #897819;
$custom-light: #af9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#897819",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 50.893,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.10986,
    "h": 98.3
  },
  "luminance": 0.18821
}

Semantic roles & 50–950 ramp

primary
#897819
secondary
#4154BC
accent
#57EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897819

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

Preview Lab → · Contrast checker → · Palette generator →

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