#897E2A#897E2A

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

Color values

HEX#897E2A
RGBrgb(137, 126, 42)
HSLhsl(53, 53%, 35%)
HSVhsv(53, 69%, 54%)
CMYKcmyk(0%, 8%, 69.3%, 46.3%)
CIE-LABlab(52.30, -6.21, 45.32)
CIE-LCHlch(52.30, 45.75, 97.80°)
OKLaboklab(58.66% -0.0212 0.1018)
OKLCHoklch(58.66% 0.104 101.8)
XYZxyz(18.1961, 20.4080, 5.1707)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E2A #2A3589
analogous
#894F2A #897E2A #64892A
triadic
#897E2A #2A897E #7E2A89
tetradic
#897E2A #2A894F #2A3589 #892A64
square
#897E2A #2A894F #2A3589 #892A64
split-complementary
#897E2A #2A6489 #4F2A89
monochromatic
#2B280D #5A531C #897E2A #B8A938 #CEC15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897E2A#FFFFFF#000000##000000
##897E2A1.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)
#8A7A1F
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#93756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897e2a;
/* rgb */ color: rgb(137, 126, 42);
/* oklch */ color: oklch(58.7% 0.104 101.8);
Tailwind
colors: {
  custom: {
    50: '#aea369',
    500: '#897e2a',
    950: '#000000',
  },
}
SCSS
$custom: #897e2a;
$custom-light: #aea369;
$custom-dark: #000000;
JSON
{
  "hex": "#897e2a",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 53.053,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.10403,
    "h": 101.8
  },
  "luminance": 0.20407
}

Semantic roles & 50–950 ramp

primary
#897E2A
secondary
#5B65B4
accent
#5CDC4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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