#897D27#897D27

#897D27 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.105 H 101.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#897D27
RGBrgb(137, 125, 39)
HSLhsl(53, 56%, 35%)
HSVhsv(53, 72%, 54%)
CMYKcmyk(0%, 8.8%, 71.5%, 46.3%)
CIE-LABlab(51.99, -5.83, 46.29)
CIE-LCHlch(51.99, 46.66, 97.17°)
OKLaboklab(58.41% -0.0205 0.1033)
OKLCHoklch(58.41% 0.105 101.2)
XYZxyz(18.0171, 20.1329, 4.8561)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D27 #273389
analogous
#894C27 #897D27 #648927
triadic
#897D27 #27897D #7D2789
tetradic
#897D27 #27894C #273389 #892764
square
#897D27 #27894C #273389 #892764
split-complementary
#897D27 #276489 #4C2789
monochromatic
#2A260C #595219 #897D27 #B9A835 #D0C25A

Accessibility & contrast

On white

4.18
#897D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#897D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D27
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D27#FFFFFF#000000##000000
##897D271.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791A
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#94746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d27;
/* rgb */ color: rgb(137, 125, 39);
/* oklch */ color: oklch(58.4% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#aea267',
    500: '#897d27',
    950: '#000000',
  },
}
SCSS
$custom: #897d27;
$custom-light: #aea267;
$custom-dark: #000000;
JSON
{
  "hex": "#897d27",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 52.653,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58411,
    "c": 0.10535,
    "h": 101.2
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#897D27
secondary
#5762B5
accent
#5BDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897D27

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

Preview Lab → · Contrast checker → · Palette generator →

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