#897F1A#897F1A

#897F1A is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.115 H 103.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#897F1A
RGBrgb(137, 127, 26)
HSLhsl(55, 68%, 32%)
HSVhsv(55, 81%, 54%)
CMYKcmyk(0%, 7.3%, 81%, 46.3%)
CIE-LABlab(52.48, -7.54, 51.61)
CIE-LCHlch(52.48, 52.16, 98.31°)
OKLaboklab(58.78% -0.0267 0.112)
OKLCHoklch(58.78% 0.115 103.4)
XYZxyz(18.0932, 20.5725, 3.9949)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F1A #1A2489
analogous
#89481A #897F1A #5B891A
triadic
#897F1A #1A897F #7F1A89
tetradic
#897F1A #1A8948 #1A2489 #891A5B
square
#897F1A #1A8948 #1A2489 #891A5B
split-complementary
#897F1A #1A5B89 #481A89
monochromatic
#222006 #564F10 #897F1A #BCAF24 #DBCD42

Accessibility & contrast

On white

4.11
#897F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#897F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897F1A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897F1A#FFFFFF#000000##000000
##897F1A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897f1a;
/* rgb */ color: rgb(137, 127, 26);
/* oklch */ color: oklch(58.8% 0.115 103.4);
Tailwind
colors: {
  custom: {
    50: '#afa360',
    500: '#897f1a',
    950: '#000000',
  },
}
SCSS
$custom: #897f1a;
$custom-light: #afa360;
$custom-dark: #000000;
JSON
{
  "hex": "#897f1a",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 54.595,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.11517,
    "h": 103.4
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#897F1A
secondary
#434EBC
accent
#4DEB3D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #897F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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