#897C20#897C20

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

Color values

HEX#897C20
RGBrgb(137, 124, 32)
HSLhsl(53, 62%, 33%)
HSVhsv(53, 77%, 54%)
CMYKcmyk(0%, 9.5%, 76.6%, 46.3%)
CIE-LABlab(51.65, -5.63, 48.76)
CIE-LCHlch(51.65, 49.08, 96.58°)
OKLaboklab(58.13% -0.0207 0.1072)
OKLCHoklch(58.13% 0.109 100.9)
XYZxyz(17.7857, 19.8388, 4.2586)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C20 #202D89
analogous
#894720 #897C20 #618920
triadic
#897C20 #20897C #7C2089
tetradic
#897C20 #208947 #202D89 #892061
square
#897C20 #208947 #202D89 #892061
split-complementary
#897C20 #206189 #472089
monochromatic
#262209 #574F14 #897C20 #BBA92C #D6C54E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897C20#FFFFFF#000000##000000
##897C201.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)
#88780E
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#94736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c20;
/* rgb */ color: rgb(137, 124, 32);
/* oklch */ color: oklch(58.1% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#afa163',
    500: '#897c20',
    950: '#000000',
  },
}
SCSS
$custom: #897c20;
$custom-light: #afa163;
$custom-dark: #000000;
JSON
{
  "hex": "#897c20",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 52.571,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.10916,
    "h": 100.9
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#897C20
secondary
#4C5AB9
accent
#57E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C20

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

Preview Lab → · Contrast checker → · Palette generator →

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