#897A2D#897A2D

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

Color values

HEX#897A2D
RGBrgb(137, 122, 45)
HSLhsl(50, 51%, 36%)
HSVhsv(50, 67%, 54%)
CMYKcmyk(0%, 10.9%, 67.2%, 46.3%)
CIE-LABlab(51.18, -3.79, 42.82)
CIE-LCHlch(51.18, 42.99, 95.05°)
OKLaboklab(57.79% -0.014 0.0971)
OKLCHoklch(57.79% 0.098 98.2)
XYZxyz(17.7505, 19.4277, 5.2971)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A2D #2D3C89
analogous
#894C2D #897A2D #6A892D
triadic
#897A2D #2D897A #7A2D89
tetradic
#897A2D #2D894C #2D3C89 #892D6A
square
#897A2D #2D894C #2D3C89 #892D6A
split-complementary
#897A2D #2D6A89 #4C2D89
monochromatic
#2D280F #5B511E #897A2D #B7A33C #CCBB64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897A2D#FFFFFF#000000##000000
##897A2D1.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)
#867724
Deuteranopia (green-blind)
#8A7C31
Tritanopia (blue-blind)
#94716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a2d;
/* rgb */ color: rgb(137, 122, 45);
/* oklch */ color: oklch(57.8% 0.098 98.2);
Tailwind
colors: {
  custom: {
    50: '#aea06a',
    500: '#897a2d',
    950: '#000000',
  },
}
SCSS
$custom: #897a2d;
$custom-light: #aea06a;
$custom-dark: #000000;
JSON
{
  "hex": "#897a2d",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 50.217,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.09806,
    "h": 98.2
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

primary
#897A2D
secondary
#5F6DB3
accent
#65DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #897A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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