#897B1A#897B1A

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

Color values

HEX#897B1A
RGBrgb(137, 123, 26)
HSLhsl(52, 68%, 32%)
HSVhsv(52, 81%, 54%)
CMYKcmyk(0%, 10.2%, 81%, 46.3%)
CIE-LABlab(51.34, -5.32, 50.59)
CIE-LCHlch(51.34, 50.87, 96.01°)
OKLaboklab(57.87% -0.0204 0.1099)
OKLCHoklch(57.87% 0.112 100.5)
XYZxyz(17.5868, 19.5597, 3.8261)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B1A #1A2889
analogous
#89431A #897B1A #60891A
triadic
#897B1A #1A897B #7B1A89
tetradic
#897B1A #1A8943 #1A2889 #891A60
square
#897B1A #1A8943 #1A2889 #891A60
split-complementary
#897B1A #1A6089 #431A89
monochromatic
#221F06 #564D10 #897B1A #BCA924 #DBC842

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897B1A#FFFFFF#000000##000000
##897B1A1.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)
#887701
Deuteranopia (green-blind)
#8B7D21
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b1a;
/* rgb */ color: rgb(137, 123, 26);
/* oklch */ color: oklch(57.9% 0.112 100.5);
Tailwind
colors: {
  custom: {
    50: '#afa060',
    500: '#897b1a',
    950: '#000000',
  },
}
SCSS
$custom: #897b1a;
$custom-light: #afa060;
$custom-dark: #000000;
JSON
{
  "hex": "#897b1a",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 52.432,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.11174,
    "h": 100.5
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#897B1A
secondary
#4352BC
accent
#53EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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