#897427#897427

#897427 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.4% C 0.098 H 93.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#897427
RGBrgb(137, 116, 39)
HSLhsl(47, 56%, 35%)
HSVhsv(47, 72%, 54%)
CMYKcmyk(0%, 15.3%, 71.5%, 46.3%)
CIE-LABlab(49.44, -0.76, 43.72)
CIE-LCHlch(49.44, 43.73, 91.00°)
OKLaboklab(56.4% -0.0061 0.0979)
OKLCHoklch(56.4% 0.098 93.5)
XYZxyz(16.9290, 17.9566, 4.4933)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897427 #273C89
analogous
#894327 #897427 #6D8927
triadic
#897427 #278974 #742789
tetradic
#897427 #278943 #273C89 #89276D
square
#897427 #278943 #273C89 #89276D
split-complementary
#897427 #276D89 #432789
monochromatic
#2A230C #594C19 #897427 #B99C35 #D0B75A

Accessibility & contrast

On white

4.57
#897427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#897427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897427
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897427#FFFFFF#000000##000000
##8974271.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81721D
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#946B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #897427;
/* rgb */ color: rgb(137, 116, 39);
/* oklch */ color: oklch(56.4% 0.098 93.5);
Tailwind
colors: {
  custom: {
    50: '#af9b66',
    500: '#897427',
    950: '#000000',
  },
}
SCSS
$custom: #897427;
$custom-light: #af9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#897427",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 39
  },
  "hsl": {
    "h": 47.143,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56396,
    "c": 0.09808,
    "h": 93.5
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

primary
#897427
secondary
#576BB5
accent
#69DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897427

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

Preview Lab → · Contrast checker → · Palette generator →

#897427 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva