#897221#897221

#897221 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.9% C 0.101 H 92.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#897221
RGBrgb(137, 114, 33)
HSLhsl(47, 61%, 33%)
HSVhsv(47, 76%, 54%)
CMYKcmyk(0%, 16.8%, 75.9%, 46.3%)
CIE-LABlab(48.84, 0.06, 45.67)
CIE-LCHlch(48.84, 45.67, 89.93°)
OKLaboklab(55.91% -0.0044 0.1008)
OKLCHoklch(55.91% 0.101 92.5)
XYZxyz(16.6093, 17.4638, 3.9346)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897221 #213889
analogous
#893E21 #897221 #6C8921
triadic
#897221 #218972 #722189
tetradic
#897221 #21893E #213889 #89216C
square
#897221 #21893E #213889 #89216C
split-complementary
#897221 #216C89 #3E2189
monochromatic
#262009 #584915 #897221 #BA9B2D #D5B750

Accessibility & contrast

On white

4.67
#897221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#897221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897221
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897221#FFFFFF#000000##FFFFFF
##8972211.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#956862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #897221;
/* rgb */ color: rgb(137, 114, 33);
/* oklch */ color: oklch(55.9% 0.101 92.5);
Tailwind
colors: {
  custom: {
    50: '#af9a62',
    500: '#897221',
    950: '#000000',
  },
}
SCSS
$custom: #897221;
$custom-light: #af9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#897221",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 46.731,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55905,
    "c": 0.10093,
    "h": 92.5
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#897221
secondary
#4E65B8
accent
#67E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897221

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

Preview Lab → · Contrast checker → · Palette generator →

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