#897522#897522

#897522 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.6% C 0.102 H 95.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#897522
RGBrgb(137, 117, 34)
HSLhsl(48, 60%, 34%)
HSVhsv(48, 75%, 54%)
CMYKcmyk(0%, 14.6%, 75.2%, 46.3%)
CIE-LABlab(49.69, -1.60, 46.09)
CIE-LCHlch(49.69, 46.11, 91.99°)
OKLaboklab(56.58% -0.0091 0.1019)
OKLCHoklch(56.58% 0.102 95.1)
XYZxyz(16.9674, 18.1574, 4.1241)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897522 #223689
analogous
#894222 #897522 #698922
triadic
#897522 #228975 #752289
tetradic
#897522 #228942 #223689 #892269
square
#897522 #228942 #223689 #892269
split-complementary
#897522 #226989 #422289
monochromatic
#27210A #584B16 #897522 #BA9F2E #D4BB51

Accessibility & contrast

On white

4.53
#897522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#897522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897522
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897522#FFFFFF#000000##000000
##8975221.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#946B65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #897522;
/* rgb */ color: rgb(137, 117, 34);
/* oklch */ color: oklch(56.6% 0.102 95.1);
Tailwind
colors: {
  custom: {
    50: '#af9c63',
    500: '#897522',
    950: '#000000',
  },
}
SCSS
$custom: #897522;
$custom-light: #af9c63;
$custom-dark: #000000;
JSON
{
  "hex": "#897522",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 48.35,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56576,
    "c": 0.10232,
    "h": 95.1
  },
  "luminance": 0.18156
}

Semantic roles & 50–950 ramp

primary
#897522
secondary
#4F64B8
accent
#63E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897522

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

Preview Lab → · Contrast checker → · Palette generator →

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