#897C22#897C22

#897C22 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.108 H 100.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#897C22
RGBrgb(137, 124, 34)
HSLhsl(52, 60%, 34%)
HSVhsv(52, 75%, 54%)
CMYKcmyk(0%, 9.5%, 75.2%, 46.3%)
CIE-LABlab(51.67, -5.53, 48.00)
CIE-LCHlch(51.67, 48.32, 96.57°)
OKLaboklab(58.15% -0.0202 0.106)
OKLCHoklch(58.15% 0.108 100.8)
XYZxyz(17.8137, 19.8500, 4.4062)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C22 #222F89
analogous
#894822 #897C22 #628922
triadic
#897C22 #22897C #7C2289
tetradic
#897C22 #228948 #222F89 #892262
square
#897C22 #228948 #222F89 #892262
split-complementary
#897C22 #226289 #482289
monochromatic
#27230A #585016 #897C22 #BAA82E #D4C351

Accessibility & contrast

On white

4.23
#897C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#897C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C22#FFFFFF#000000##000000
##897C221.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#94736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c22;
/* rgb */ color: rgb(137, 124, 34);
/* oklch */ color: oklch(58.1% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#afa164',
    500: '#897c22',
    950: '#000000',
  },
}
SCSS
$custom: #897c22;
$custom-light: #afa164;
$custom-dark: #000000;
JSON
{
  "hex": "#897c22",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 52.427,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58146,
    "c": 0.1079,
    "h": 100.8
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#897C22
secondary
#4F5CB8
accent
#58E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C22

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

Preview Lab → · Contrast checker → · Palette generator →

#897C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva