#897222#897222

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

Color values

HEX#897222
RGBrgb(137, 114, 34)
HSLhsl(47, 60%, 34%)
HSVhsv(47, 75%, 54%)
CMYKcmyk(0%, 16.8%, 75.2%, 46.3%)
CIE-LABlab(48.85, 0.11, 45.27)
CIE-LCHlch(48.85, 45.27, 89.86°)
OKLaboklab(55.91% -0.0042 0.1002)
OKLCHoklch(55.91% 0.1 92.4)
XYZxyz(16.6235, 17.4695, 4.0094)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897222 #223989
analogous
#893E22 #897222 #6C8922
triadic
#897222 #228972 #722289
tetradic
#897222 #22893E #223989 #89226C
square
#897222 #22893E #223989 #89226C
split-complementary
#897222 #226C89 #3E2289
monochromatic
#27200A #584916 #897222 #BA9B2E #D4B751

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897222#FFFFFF#000000##FFFFFF
##8972221.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)
#7F7016
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#946862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #897222;
/* rgb */ color: rgb(137, 114, 34);
/* oklch */ color: oklch(55.9% 0.100 92.4);
Tailwind
colors: {
  custom: {
    50: '#af9a63',
    500: '#897222',
    950: '#000000',
  },
}
SCSS
$custom: #897222;
$custom-light: #af9a63;
$custom-dark: #000000;
JSON
{
  "hex": "#897222",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 46.602,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.10027,
    "h": 92.4
  },
  "luminance": 0.17468
}

Semantic roles & 50–950 ramp

primary
#897222
secondary
#4F67B8
accent
#68E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897222

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

Preview Lab → · Contrast checker → · Palette generator →

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