#897022#897022

#897022 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.5% C 0.099 H 90.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#897022
RGBrgb(137, 112, 34)
HSLhsl(45, 60%, 34%)
HSVhsv(45, 75%, 54%)
CMYKcmyk(0%, 18.2%, 75.2%, 46.3%)
CIE-LABlab(48.29, 1.25, 44.72)
CIE-LCHlch(48.29, 44.74, 88.40°)
OKLaboklab(55.47% -0.0009 0.099)
OKLCHoklch(55.47% 0.099 90.5)
XYZxyz(16.4004, 17.0232, 3.9350)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897022 #223B89
analogous
#893C22 #897022 #6E8922
triadic
#897022 #228970 #702289
tetradic
#897022 #22893C #223B89 #89226E
square
#897022 #22893C #223B89 #89226E
split-complementary
#897022 #226E89 #3C2289
monochromatic
#27200A #584816 #897022 #BA982E #D4B451

Accessibility & contrast

On white

4.77
#897022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#897022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897022
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897022#FFFFFF#000000##FFFFFF
##8970221.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F16
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#956660
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #897022;
/* rgb */ color: rgb(137, 112, 34);
/* oklch */ color: oklch(55.5% 0.099 90.5);
Tailwind
colors: {
  custom: {
    50: '#af9863',
    500: '#897022',
    950: '#000000',
  },
}
SCSS
$custom: #897022;
$custom-light: #af9863;
$custom-dark: #000000;
JSON
{
  "hex": "#897022",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 45.437,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55473,
    "c": 0.09902,
    "h": 90.5
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#897022
secondary
#4F69B8
accent
#6BE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #897022

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

Preview Lab → · Contrast checker → · Palette generator →

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