#897C1D#897C1D

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

Color values

HEX#897C1D
RGBrgb(137, 124, 29)
HSLhsl(53, 65%, 33%)
HSVhsv(53, 79%, 54%)
CMYKcmyk(0%, 9.5%, 78.8%, 46.3%)
CIE-LABlab(51.64, -5.76, 49.83)
CIE-LCHlch(51.64, 50.16, 96.59°)
OKLaboklab(58.11% -0.0214 0.1089)
OKLCHoklch(58.11% 0.111 101.1)
XYZxyz(17.7468, 19.8232, 4.0536)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C1D #1D2A89
analogous
#89461D #897C1D #60891D
triadic
#897C1D #1D897C #7C1D89
tetradic
#897C1D #1D8946 #1D2A89 #891D60
square
#897C1D #1D8946 #1D2A89 #891D60
split-complementary
#897C1D #1D6089 #461D89
monochromatic
#242108 #564E12 #897C1D #BCAA28 #D8C748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897C1D#FFFFFF#000000##000000
##897C1D1.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)
#887807
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c1d;
/* rgb */ color: rgb(137, 124, 29);
/* oklch */ color: oklch(58.1% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#afa161',
    500: '#897c1d',
    950: '#000000',
  },
}
SCSS
$custom: #897c1d;
$custom-light: #afa161;
$custom-dark: #000000;
JSON
{
  "hex": "#897c1d",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 52.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58112,
    "c": 0.11094,
    "h": 101.1
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#897C1D
secondary
#4755BA
accent
#54E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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