#897D19#897D19

#897D19 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.114 H 102.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#897D19
RGBrgb(137, 125, 25)
HSLhsl(54, 69%, 32%)
HSVhsv(54, 82%, 54%)
CMYKcmyk(0%, 8.8%, 81.8%, 46.3%)
CIE-LABlab(51.90, -6.47, 51.42)
CIE-LCHlch(51.90, 51.82, 97.17°)
OKLaboklab(58.32% -0.0238 0.1114)
OKLCHoklch(58.32% 0.114 102)
XYZxyz(17.8265, 20.0566, 3.8518)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D19 #192589
analogous
#894519 #897D19 #5D8919
triadic
#897D19 #19897D #7D1989
tetradic
#897D19 #198945 #192589 #89195D
square
#897D19 #198945 #192589 #89195D
split-complementary
#897D19 #195D89 #451989
monochromatic
#211F06 #554E10 #897D19 #BDAC22 #DCCB40

Accessibility & contrast

On white

4.19
#897D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#897D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D19
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D19#FFFFFF#000000##000000
##897D191.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d19;
/* rgb */ color: rgb(137, 125, 25);
/* oklch */ color: oklch(58.3% 0.114 102.0);
Tailwind
colors: {
  custom: {
    50: '#afa260',
    500: '#897d19',
    950: '#000000',
  },
}
SCSS
$custom: #897d19;
$custom-light: #afa260;
$custom-dark: #000000;
JSON
{
  "hex": "#897d19",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 53.571,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.11393,
    "h": 102
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#897D19
secondary
#414FBC
accent
#4FEC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #897D19

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

Preview Lab → · Contrast checker → · Palette generator →

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