#897121#897121

#897121 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.7% C 0.100 H 91.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#897121
RGBrgb(137, 113, 33)
HSLhsl(46, 61%, 33%)
HSVhsv(46, 76%, 54%)
CMYKcmyk(0%, 17.5%, 75.9%, 46.3%)
CIE-LABlab(48.56, 0.63, 45.40)
CIE-LCHlch(48.56, 45.40, 89.20°)
OKLaboklab(55.68% -0.0028 0.1003)
OKLCHoklch(55.68% 0.1 91.6)
XYZxyz(16.4971, 17.2394, 3.8972)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897121 #213989
analogous
#893D21 #897121 #6D8921
triadic
#897121 #218971 #712189
tetradic
#897121 #21893D #213989 #89216D
square
#897121 #21893D #213989 #89216D
split-complementary
#897121 #216D89 #3D2189
monochromatic
#262009 #584815 #897121 #BA9A2D #D5B650

Accessibility & contrast

On white

4.72
#897121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#897121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897121
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897121#FFFFFF#000000##FFFFFF
##8971211.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#956761
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #897121;
/* rgb */ color: rgb(137, 113, 33);
/* oklch */ color: oklch(55.7% 0.100 91.6);
Tailwind
colors: {
  custom: {
    50: '#af9962',
    500: '#897121',
    950: '#000000',
  },
}
SCSS
$custom: #897121;
$custom-light: #af9962;
$custom-dark: #000000;
JSON
{
  "hex": "#897121",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 46.154,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.1003,
    "h": 91.6
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#897121
secondary
#4E66B8
accent
#69E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #897121

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

Preview Lab → · Contrast checker → · Palette generator →

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