#897E1D#897E1D

#897E1D is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.113 H 102.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#897E1D
RGBrgb(137, 126, 29)
HSLhsl(54, 65%, 33%)
HSVhsv(54, 79%, 54%)
CMYKcmyk(0%, 8%, 78.8%, 46.3%)
CIE-LABlab(52.21, -6.87, 50.36)
CIE-LCHlch(52.21, 50.82, 97.77°)
OKLaboklab(58.57% -0.0245 0.11)
OKLCHoklch(58.57% 0.113 102.6)
XYZxyz(18.0000, 20.3296, 4.1380)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E1D #1D2889
analogous
#89481D #897E1D #5E891D
triadic
#897E1D #1D897E #7E1D89
tetradic
#897E1D #1D8948 #1D2889 #891D5E
square
#897E1D #1D8948 #1D2889 #891D5E
split-complementary
#897E1D #1D5E89 #481D89
monochromatic
#242108 #565012 #897E1D #BCAC28 #D8CA48

Accessibility & contrast

On white

4.15
#897E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#897E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E1D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E1D#FFFFFF#000000##000000
##897E1D1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897e1d;
/* rgb */ color: rgb(137, 126, 29);
/* oklch */ color: oklch(58.6% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#afa362',
    500: '#897e1d',
    950: '#000000',
  },
}
SCSS
$custom: #897e1d;
$custom-light: #afa362;
$custom-dark: #000000;
JSON
{
  "hex": "#897e1d",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 53.889,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.11268,
    "h": 102.6
  },
  "luminance": 0.20329
}

Semantic roles & 50–950 ramp

primary
#897E1D
secondary
#4753BA
accent
#51E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #897E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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