#897D20#897D20

#897D20 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.110 H 101.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#897D20
RGBrgb(137, 125, 32)
HSLhsl(53, 62%, 33%)
HSVhsv(53, 77%, 54%)
CMYKcmyk(0%, 8.8%, 76.6%, 46.3%)
CIE-LABlab(51.94, -6.18, 49.03)
CIE-LCHlch(51.94, 49.41, 97.19°)
OKLaboklab(58.36% -0.0223 0.1078)
OKLCHoklch(58.36% 0.11 101.7)
XYZxyz(17.9117, 20.0907, 4.3006)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D20 #202C89
analogous
#894820 #897D20 #608920
triadic
#897D20 #20897D #7D2089
tetradic
#897D20 #208948 #202C89 #892060
square
#897D20 #208948 #202C89 #892060
split-complementary
#897D20 #206089 #482089
monochromatic
#262209 #575014 #897D20 #BBAA2C #D6C64E

Accessibility & contrast

On white

4.18
#897D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#897D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D20
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D20#FFFFFF#000000##000000
##897D201.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d20;
/* rgb */ color: rgb(137, 125, 32);
/* oklch */ color: oklch(58.4% 0.110 101.7);
Tailwind
colors: {
  custom: {
    50: '#afa263',
    500: '#897d20',
    950: '#000000',
  },
}
SCSS
$custom: #897d20;
$custom-light: #afa263;
$custom-dark: #000000;
JSON
{
  "hex": "#897d20",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 53.143,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.11003,
    "h": 101.7
  },
  "luminance": 0.2009
}

Semantic roles & 50–950 ramp

primary
#897D20
secondary
#4C59B9
accent
#55E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897D20

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

Preview Lab → · Contrast checker → · Palette generator →

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