#897B1D#897B1D

#897B1D is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.110 H 100.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#897B1D
RGBrgb(137, 123, 29)
HSLhsl(52, 65%, 33%)
HSVhsv(52, 79%, 54%)
CMYKcmyk(0%, 10.2%, 78.8%, 46.3%)
CIE-LABlab(51.35, -5.20, 49.57)
CIE-LCHlch(51.35, 49.84, 95.99°)
OKLaboklab(57.89% -0.0198 0.1083)
OKLCHoklch(57.89% 0.11 100.4)
XYZxyz(17.6221, 19.5738, 4.0121)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B1D #1D2B89
analogous
#89451D #897B1D #61891D
triadic
#897B1D #1D897B #7B1D89
tetradic
#897B1D #1D8945 #1D2B89 #891D61
square
#897B1D #1D8945 #1D2B89 #891D61
split-complementary
#897B1D #1D6189 #451D89
monochromatic
#242008 #564E12 #897B1D #BCA828 #D8C648

Accessibility & contrast

On white

4.27
#897B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#897B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B1D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B1D#FFFFFF#000000##000000
##897B1D1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#8B7D24
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b1d;
/* rgb */ color: rgb(137, 123, 29);
/* oklch */ color: oklch(57.9% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#afa061',
    500: '#897b1d',
    950: '#000000',
  },
}
SCSS
$custom: #897b1d;
$custom-light: #afa061;
$custom-dark: #000000;
JSON
{
  "hex": "#897b1d",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 52.222,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.1101,
    "h": 100.4
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#897B1D
secondary
#4756BA
accent
#56E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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