#897A2F#897A2F

#897A2F is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.096 H 98.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#897A2F
RGBrgb(137, 122, 47)
HSLhsl(50, 49%, 36%)
HSVhsv(50, 66%, 54%)
CMYKcmyk(0%, 10.9%, 65.7%, 46.3%)
CIE-LABlab(51.20, -3.65, 41.91)
CIE-LCHlch(51.20, 42.07, 94.98°)
OKLaboklab(57.81% -0.0133 0.0955)
OKLCHoklch(57.81% 0.096 98)
XYZxyz(17.7899, 19.4435, 5.5047)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A2F #2F3E89
analogous
#894D2F #897A2F #6B892F
triadic
#897A2F #2F897A #7A2F89
tetradic
#897A2F #2F894D #2F3E89 #892F6B
square
#897A2F #2F894D #2F3E89 #892F6B
split-complementary
#897A2F #2F6B89 #4D2F89
monochromatic
#2E2910 #5B511F #897A2F #B7A33F #CBBA67

Accessibility & contrast

On white

4.30
#897A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#897A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A2F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A2F#FFFFFF#000000##000000
##897A2F1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867726
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#94716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a2f;
/* rgb */ color: rgb(137, 122, 47);
/* oklch */ color: oklch(57.8% 0.096 98.0);
Tailwind
colors: {
  custom: {
    50: '#aea06b',
    500: '#897a2f',
    950: '#000000',
  },
}
SCSS
$custom: #897a2f;
$custom-light: #aea06b;
$custom-dark: #000000;
JSON
{
  "hex": "#897a2f",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 50,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.09639,
    "h": 98
  },
  "luminance": 0.19443
}

Semantic roles & 50–950 ramp

primary
#897A2F
secondary
#626FB2
accent
#66D84F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #897A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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