#897627#897627

#897627 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.8% C 0.100 H 95.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#897627
RGBrgb(137, 118, 39)
HSLhsl(48, 56%, 35%)
HSVhsv(48, 72%, 54%)
CMYKcmyk(0%, 13.9%, 71.5%, 46.3%)
CIE-LABlab(50.00, -1.90, 44.29)
CIE-LCHlch(50.00, 44.33, 92.45°)
OKLaboklab(56.84% -0.0093 0.0991)
OKLCHoklch(56.84% 0.1 95.4)
XYZxyz(17.1620, 18.4226, 4.5710)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897627 #273A89
analogous
#894527 #897627 #6B8927
triadic
#897627 #278976 #762789
tetradic
#897627 #278945 #273A89 #89276B
square
#897627 #278945 #273A89 #89276B
split-complementary
#897627 #276B89 #452789
monochromatic
#2A240C #594D19 #897627 #B99F35 #D0B95A

Accessibility & contrast

On white

4.48
#897627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#897627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897627
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897627#FFFFFF#000000##000000
##8976271.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82741C
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#946D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #897627;
/* rgb */ color: rgb(137, 118, 39);
/* oklch */ color: oklch(56.8% 0.100 95.4);
Tailwind
colors: {
  custom: {
    50: '#af9d66',
    500: '#897627',
    950: '#000000',
  },
}
SCSS
$custom: #897627;
$custom-light: #af9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#897627",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 48.367,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.09954,
    "h": 95.4
  },
  "luminance": 0.18422
}

Semantic roles & 50–950 ramp

primary
#897627
secondary
#5769B5
accent
#66DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897627

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

Preview Lab → · Contrast checker → · Palette generator →

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