#897B19#897B19

#897B19 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.112 H 100.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#897B19
RGBrgb(137, 123, 25)
HSLhsl(53, 69%, 32%)
HSVhsv(53, 82%, 54%)
CMYKcmyk(0%, 10.2%, 81.8%, 46.3%)
CIE-LABlab(51.33, -5.36, 50.91)
CIE-LCHlch(51.33, 51.19, 96.01°)
OKLaboklab(57.86% -0.0206 0.1103)
OKLCHoklch(57.86% 0.112 100.6)
XYZxyz(17.5758, 19.5553, 3.7683)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B19 #192789
analogous
#894319 #897B19 #5F8919
triadic
#897B19 #19897B #7B1989
tetradic
#897B19 #198943 #192789 #89195F
square
#897B19 #198943 #192789 #89195F
split-complementary
#897B19 #195F89 #431989
monochromatic
#211E06 #554D10 #897B19 #BDA922 #DCC940

Accessibility & contrast

On white

4.28
#897B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#897B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B19
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B19#FFFFFF#000000##000000
##897B191.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#8B7D21
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b19;
/* rgb */ color: rgb(137, 123, 25);
/* oklch */ color: oklch(57.9% 0.112 100.6);
Tailwind
colors: {
  custom: {
    50: '#afa060',
    500: '#897b19',
    950: '#000000',
  },
}
SCSS
$custom: #897b19;
$custom-light: #afa060;
$custom-dark: #000000;
JSON
{
  "hex": "#897b19",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 52.5,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.11224,
    "h": 100.6
  },
  "luminance": 0.19554
}

Semantic roles & 50–950 ramp

primary
#897B19
secondary
#4151BC
accent
#52EC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897B19

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

Preview Lab → · Contrast checker → · Palette generator →

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