#897C27#897C27

#897C27 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.104 H 100.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#897C27
RGBrgb(137, 124, 39)
HSLhsl(52, 56%, 35%)
HSVhsv(52, 72%, 54%)
CMYKcmyk(0%, 9.5%, 71.5%, 46.3%)
CIE-LABlab(51.70, -5.27, 46.01)
CIE-LCHlch(51.70, 46.31, 96.53°)
OKLaboklab(58.18% -0.0189 0.1027)
OKLCHoklch(58.18% 0.104 100.4)
XYZxyz(17.8912, 19.8810, 4.8141)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C27 #273489
analogous
#894B27 #897C27 #658927
triadic
#897C27 #27897C #7C2789
tetradic
#897C27 #27894B #273489 #892765
square
#897C27 #27894B #273489 #892765
split-complementary
#897C27 #276589 #4B2789
monochromatic
#2A260C #595119 #897C27 #B9A735 #D0C05A

Accessibility & contrast

On white

4.22
#897C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#897C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C27
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C27#FFFFFF#000000##000000
##897C271.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c27;
/* rgb */ color: rgb(137, 124, 39);
/* oklch */ color: oklch(58.2% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#aea167',
    500: '#897c27',
    950: '#000000',
  },
}
SCSS
$custom: #897c27;
$custom-light: #aea167;
$custom-dark: #000000;
JSON
{
  "hex": "#897c27",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 52.041,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.10446,
    "h": 100.4
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#897C27
secondary
#5763B5
accent
#5DDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C27

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

Preview Lab → · Contrast checker → · Palette generator →

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