#897A20#897A20

#897A20 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.107 H 99.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#897A20
RGBrgb(137, 122, 32)
HSLhsl(51, 62%, 33%)
HSVhsv(51, 77%, 54%)
CMYKcmyk(0%, 10.9%, 76.6%, 46.3%)
CIE-LABlab(51.09, -4.51, 48.22)
CIE-LCHlch(51.09, 48.43, 95.34°)
OKLaboklab(57.68% -0.0175 0.106)
OKLCHoklch(57.68% 0.107 99.4)
XYZxyz(17.5376, 19.3426, 4.1759)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A20 #202F89
analogous
#894620 #897A20 #638920
triadic
#897A20 #20897A #7A2089
tetradic
#897A20 #208946 #202F89 #892063
square
#897A20 #208946 #202F89 #892063
split-complementary
#897A20 #206389 #462089
monochromatic
#262209 #574E14 #897A20 #BBA62C #D6C24E

Accessibility & contrast

On white

4.31
#897A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#897A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A20
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A20#FFFFFF#000000##000000
##897A201.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86770F
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a20;
/* rgb */ color: rgb(137, 122, 32);
/* oklch */ color: oklch(57.7% 0.107 99.4);
Tailwind
colors: {
  custom: {
    50: '#afa063',
    500: '#897a20',
    950: '#000000',
  },
}
SCSS
$custom: #897a20;
$custom-light: #afa063;
$custom-dark: #000000;
JSON
{
  "hex": "#897a20",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 51.429,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.10748,
    "h": 99.4
  },
  "luminance": 0.19342
}

Semantic roles & 50–950 ramp

primary
#897A20
secondary
#4C5CB9
accent
#5AE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897A20

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

Preview Lab → · Contrast checker → · Palette generator →

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