#897E2C#897E2C

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

Color values

HEX#897E2C
RGBrgb(137, 126, 44)
HSLhsl(53, 51%, 35%)
HSVhsv(53, 68%, 54%)
CMYKcmyk(0%, 8%, 67.9%, 46.3%)
CIE-LABlab(52.31, -6.08, 44.46)
CIE-LCHlch(52.31, 44.88, 97.79°)
OKLaboklab(58.68% -0.0206 0.1004)
OKLCHoklch(58.68% 0.102 101.6)
XYZxyz(18.2328, 20.4227, 5.3640)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E2C #2C3789
analogous
#894F2C #897E2C #65892C
triadic
#897E2C #2C897E #7E2C89
tetradic
#897E2C #2C894F #2C3789 #892C65
square
#897E2C #2C894F #2C3789 #892C65
split-complementary
#897E2C #2C6589 #4F2C89
monochromatic
#2C290E #5B531D #897E2C #B7A93B #CDC063

Accessibility & contrast

On white

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

On black

5.08
#897E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E2C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E2C#FFFFFF#000000##000000
##897E2C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #897e2c;
/* rgb */ color: rgb(137, 126, 44);
/* oklch */ color: oklch(58.7% 0.102 101.6);
Tailwind
colors: {
  custom: {
    50: '#aea36a',
    500: '#897e2c',
    950: '#000000',
  },
}
SCSS
$custom: #897e2c;
$custom-light: #aea36a;
$custom-dark: #000000;
JSON
{
  "hex": "#897e2c",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 52.903,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.10246,
    "h": 101.6
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#897E2C
secondary
#5E68B3
accent
#5EDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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