#897C19#897C19

#897C19 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.113 H 101.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#897C19
RGBrgb(137, 124, 25)
HSLhsl(53, 69%, 32%)
HSVhsv(53, 82%, 54%)
CMYKcmyk(0%, 9.5%, 81.8%, 46.3%)
CIE-LABlab(51.62, -5.92, 51.16)
CIE-LCHlch(51.62, 51.50, 96.60°)
OKLaboklab(58.09% -0.0222 0.1109)
OKLCHoklch(58.09% 0.113 101.3)
XYZxyz(17.7005, 19.8047, 3.8099)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C19 #192689
analogous
#894419 #897C19 #5E8919
triadic
#897C19 #19897C #7C1989
tetradic
#897C19 #198944 #192689 #89195E
square
#897C19 #198944 #192689 #89195E
split-complementary
#897C19 #195E89 #441989
monochromatic
#211E06 #554D10 #897C19 #BDAB22 #DCCA40

Accessibility & contrast

On white

4.23
#897C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#897C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C19
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C19#FFFFFF#000000##000000
##897C191.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8C7D21
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c19;
/* rgb */ color: rgb(137, 124, 25);
/* oklch */ color: oklch(58.1% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#afa160',
    500: '#897c19',
    950: '#000000',
  },
}
SCSS
$custom: #897c19;
$custom-light: #afa160;
$custom-dark: #000000;
JSON
{
  "hex": "#897c19",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 53.036,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.11308,
    "h": 101.3
  },
  "luminance": 0.19804
}

Semantic roles & 50–950 ramp

primary
#897C19
secondary
#4150BC
accent
#50EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897C19

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

Preview Lab → · Contrast checker → · Palette generator →

#897C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva