#896F21#896F21

#896F21 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.2% C 0.099 H 89.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#896F21
RGBrgb(137, 111, 33)
HSLhsl(45, 61%, 33%)
HSVhsv(45, 76%, 54%)
CMYKcmyk(0%, 19%, 75.9%, 46.3%)
CIE-LABlab(48.00, 1.78, 44.86)
CIE-LCHlch(48.00, 44.89, 87.73°)
OKLaboklab(55.25% 0.0005 0.0991)
OKLCHoklch(55.25% 0.099 89.7)
XYZxyz(16.2764, 16.7981, 3.8236)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896F21 #213B89
analogous
#893B21 #896F21 #6F8921
triadic
#896F21 #21896F #6F2189
tetradic
#896F21 #21893B #213B89 #89216F
square
#896F21 #21893B #213B89 #89216F
split-complementary
#896F21 #216F89 #3B2189
monochromatic
#261F09 #584715 #896F21 #BA972D #D5B350

Accessibility & contrast

On white

4.82
#896F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#896F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #896F21
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896F21#FFFFFF#000000##FFFFFF
##896F211.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#956560
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #896f21;
/* rgb */ color: rgb(137, 111, 33);
/* oklch */ color: oklch(55.2% 0.099 89.7);
Tailwind
colors: {
  custom: {
    50: '#af9862',
    500: '#896f21',
    950: '#000000',
  },
}
SCSS
$custom: #896f21;
$custom-light: #af9862;
$custom-dark: #000000;
JSON
{
  "hex": "#896f21",
  "rgb": {
    "r": 137,
    "g": 111,
    "b": 33
  },
  "hsl": {
    "h": 45,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.09911,
    "h": 89.7
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#896F21
secondary
#4E68B8
accent
#6CE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #896F21

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

Preview Lab → · Contrast checker → · Palette generator →

#896F21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva