#897D41#897D41

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

Color values

HEX#897D41
RGBrgb(137, 125, 65)
HSLhsl(50, 36%, 40%)
HSVhsv(50, 53%, 54%)
CMYKcmyk(0%, 8.8%, 52.6%, 46.3%)
CIE-LABlab(52.25, -3.87, 34.08)
CIE-LCHlch(52.25, 34.30, 96.48°)
OKLaboklab(58.71% -0.0117 0.0808)
OKLCHoklch(58.71% 0.082 98.3)
XYZxyz(18.6049, 20.3680, 7.9514)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D41 #414D89
analogous
#895941 #897D41 #718941
triadic
#897D41 #41897D #7D4189
tetradic
#897D41 #418959 #414D89 #894171
square
#897D41 #418959 #414D89 #894171
split-complementary
#897D41 #417189 #594189
monochromatic
#36311A #5F572D #897D41 #B0A158 #C3B881

Accessibility & contrast

On white

4.14
#897D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#897D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D41
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D41#FFFFFF#000000##000000
##897D411.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3C
Deuteranopia (green-blind)
#8B7F44
Tritanopia (blue-blind)
#92756F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897d41;
/* rgb */ color: rgb(137, 125, 65);
/* oklch */ color: oklch(58.7% 0.082 98.3);
Tailwind
colors: {
  custom: {
    50: '#ada277',
    500: '#897d41',
    950: '#000000',
  },
}
SCSS
$custom: #897d41;
$custom-light: #ada277;
$custom-dark: #000000;
JSON
{
  "hex": "#897d41",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 50,
    "s": 35.644,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.08169,
    "h": 98.3
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#897D41
secondary
#7881AE
accent
#6FCC5C
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100F09
muted
#7F7E7B

Preview Lab

Preview with #897D41

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

Preview Lab → · Contrast checker → · Palette generator →

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