#897E2D#897E2D

#897E2D is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.102 H 101.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#897E2D
RGBrgb(137, 126, 45)
HSLhsl(53, 51%, 36%)
HSVhsv(53, 67%, 54%)
CMYKcmyk(0%, 8%, 67.2%, 46.3%)
CIE-LABlab(52.32, -6.02, 44.02)
CIE-LCHlch(52.32, 44.43, 97.79°)
OKLaboklab(58.69% -0.0203 0.0996)
OKLCHoklch(58.69% 0.102 101.5)
XYZxyz(18.2518, 20.4303, 5.4642)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E2D #2D3889
analogous
#89502D #897E2D #66892D
triadic
#897E2D #2D897E #7E2D89
tetradic
#897E2D #2D8950 #2D3889 #892D66
square
#897E2D #2D8950 #2D3889 #892D66
split-complementary
#897E2D #2D6689 #502D89
monochromatic
#2D290F #5B541E #897E2D #B7A83C #CCC064

Accessibility & contrast

On white

4.13
#897E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#897E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E2D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E2D#FFFFFF#000000##000000
##897E2D1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A23
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#93756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897e2d;
/* rgb */ color: rgb(137, 126, 45);
/* oklch */ color: oklch(58.7% 0.102 101.5);
Tailwind
colors: {
  custom: {
    50: '#aea36a',
    500: '#897e2d',
    950: '#000000',
  },
}
SCSS
$custom: #897e2d;
$custom-light: #aea36a;
$custom-dark: #000000;
JSON
{
  "hex": "#897e2d",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 52.826,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58691,
    "c": 0.10166,
    "h": 101.5
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#897E2D
secondary
#5F69B3
accent
#5FDA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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