#897722#897722

#897722 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.104 H 96.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#897722
RGBrgb(137, 119, 34)
HSLhsl(50, 60%, 34%)
HSVhsv(50, 75%, 54%)
CMYKcmyk(0%, 13.1%, 75.2%, 46.3%)
CIE-LABlab(50.25, -2.73, 46.63)
CIE-LCHlch(50.25, 46.71, 93.35°)
OKLaboklab(57.02% -0.0123 0.1031)
OKLCHoklch(57.02% 0.104 96.8)
XYZxyz(17.2030, 18.6284, 4.2026)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897722 #223489
analogous
#894322 #897722 #678922
triadic
#897722 #228977 #772289
tetradic
#897722 #228943 #223489 #892267
square
#897722 #228943 #223489 #892267
split-complementary
#897722 #226789 #432289
monochromatic
#27220A #584C16 #897722 #BAA22E #D4BD51

Accessibility & contrast

On white

4.44
#897722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#897722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897722
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897722#FFFFFF#000000##000000
##8977221.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#946E66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897722;
/* rgb */ color: rgb(137, 119, 34);
/* oklch */ color: oklch(57.0% 0.104 96.8);
Tailwind
colors: {
  custom: {
    50: '#af9d63',
    500: '#897722',
    950: '#000000',
  },
}
SCSS
$custom: #897722;
$custom-light: #af9d63;
$custom-dark: #000000;
JSON
{
  "hex": "#897722",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 49.515,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.10381,
    "h": 96.8
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#897722
secondary
#4F61B8
accent
#60E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897722

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

Preview Lab → · Contrast checker → · Palette generator →

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