#897C2E#897C2E

#897C2E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.099 H 99.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#897C2E
RGBrgb(137, 124, 46)
HSLhsl(51, 50%, 36%)
HSVhsv(51, 66%, 54%)
CMYKcmyk(0%, 9.5%, 66.4%, 46.3%)
CIE-LABlab(51.76, -4.84, 42.97)
CIE-LCHlch(51.76, 43.25, 96.43°)
OKLaboklab(58.25% -0.0169 0.0976)
OKLCHoklch(58.25% 0.099 99.8)
XYZxyz(18.0181, 19.9317, 5.4824)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C2E #2E3B89
analogous
#894E2E #897C2E #68892E
triadic
#897C2E #2E897C #7C2E89
tetradic
#897C2E #2E894E #2E3B89 #892E68
square
#897C2E #2E894E #2E3B89 #892E68
split-complementary
#897C2E #2E6889 #4E2E89
monochromatic
#2D290F #5B531F #897C2E #B7A53D #CCBD66

Accessibility & contrast

On white

4.21
#897C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#897C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C2E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C2E#FFFFFF#000000##000000
##897C2E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#93736C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c2e;
/* rgb */ color: rgb(137, 124, 46);
/* oklch */ color: oklch(58.2% 0.099 99.8);
Tailwind
colors: {
  custom: {
    50: '#aea16b',
    500: '#897c2e',
    950: '#000000',
  },
}
SCSS
$custom: #897c2e;
$custom-light: #aea16b;
$custom-dark: #000000;
JSON
{
  "hex": "#897c2e",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 51.429,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.099,
    "h": 99.8
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

primary
#897C2E
secondary
#606CB2
accent
#62D94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #897C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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