#897D35#897D35

#897D35 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.094 H 99.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#897D35
RGBrgb(137, 125, 53)
HSLhsl(51, 44%, 37%)
HSVhsv(51, 61%, 54%)
CMYKcmyk(0%, 8.8%, 61.3%, 46.3%)
CIE-LABlab(52.11, -4.90, 40.03)
CIE-LCHlch(52.11, 40.33, 96.98°)
OKLaboklab(58.55% -0.0162 0.0923)
OKLCHoklch(58.55% 0.094 99.9)
XYZxyz(18.2934, 20.2434, 6.3112)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D35 #354189
analogous
#895335 #897D35 #6B8935
triadic
#897D35 #35897D #7D3589
tetradic
#897D35 #358953 #354189 #89356B
square
#897D35 #358953 #354189 #89356B
split-complementary
#897D35 #356B89 #533589
monochromatic
#312C13 #5D5524 #897D35 #B5A546 #C8BB71

Accessibility & contrast

On white

4.16
#897D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#897D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D35
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D35#FFFFFF#000000##000000
##897D351.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2D
Deuteranopia (green-blind)
#8C7E39
Tritanopia (blue-blind)
#93756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d35;
/* rgb */ color: rgb(137, 125, 53);
/* oklch */ color: oklch(58.5% 0.094 99.9);
Tailwind
colors: {
  custom: {
    50: '#aea26f',
    500: '#897d35',
    950: '#000000',
  },
}
SCSS
$custom: #897d35;
$custom-light: #aea26f;
$custom-dark: #000000;
JSON
{
  "hex": "#897d35",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 53
  },
  "hsl": {
    "h": 51.429,
    "s": 44.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.09374,
    "h": 99.9
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

primary
#897D35
secondary
#6A74B0
accent
#66D454
background
#FAF9F6
surface
#F5F2EC
border
#CFCCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #897D35

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

Preview Lab → · Contrast checker → · Palette generator →

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