#897F2A#897F2A

#897F2A is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.105 H 102.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#897F2A
RGBrgb(137, 127, 42)
HSLhsl(54, 53%, 35%)
HSVhsv(54, 69%, 54%)
CMYKcmyk(0%, 7.3%, 69.3%, 46.3%)
CIE-LABlab(52.58, -6.76, 45.62)
CIE-LCHlch(52.58, 46.12, 98.43°)
OKLaboklab(58.89% -0.0228 0.1025)
OKLCHoklch(58.89% 0.105 102.5)
XYZxyz(18.3246, 20.6650, 5.2135)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F2A #2A3489
analogous
#894F2A #897F2A #64892A
triadic
#897F2A #2A897F #7F2A89
tetradic
#897F2A #2A894F #2A3489 #892A64
square
#897F2A #2A894F #2A3489 #892A64
split-complementary
#897F2A #2A6489 #4F2A89
monochromatic
#2B280D #5A541C #897F2A #B8AA38 #CEC25F

Accessibility & contrast

On white

4.09
#897F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#897F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897F2A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897F2A#FFFFFF#000000##000000
##897F2A1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1E
Deuteranopia (green-blind)
#8E7F2F
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897f2a;
/* rgb */ color: rgb(137, 127, 42);
/* oklch */ color: oklch(58.9% 0.105 102.5);
Tailwind
colors: {
  custom: {
    50: '#aea369',
    500: '#897f2a',
    950: '#000000',
  },
}
SCSS
$custom: #897f2a;
$custom-light: #aea369;
$custom-dark: #000000;
JSON
{
  "hex": "#897f2a",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 53.684,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.10496,
    "h": 102.5
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#897F2A
secondary
#5B64B4
accent
#5BDC4B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #897F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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