#897B1E#897B1E

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

Color values

HEX#897B1E
RGBrgb(137, 123, 30)
HSLhsl(52, 64%, 33%)
HSVhsv(52, 78%, 54%)
CMYKcmyk(0%, 10.2%, 78.1%, 46.3%)
CIE-LABlab(51.36, -5.16, 49.22)
CIE-LCHlch(51.36, 49.49, 95.98°)
OKLaboklab(57.89% -0.0196 0.1078)
OKLCHoklch(57.89% 0.11 100.3)
XYZxyz(17.6347, 19.5789, 4.0783)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B1E #1E2C89
analogous
#89461E #897B1E #61891E
triadic
#897B1E #1E897B #7B1E89
tetradic
#897B1E #1E8946 #1E2C89 #891E61
square
#897B1E #1E8946 #1E2C89 #891E61
split-complementary
#897B1E #1E6189 #461E89
monochromatic
#252108 #574E13 #897B1E #BBA829 #D7C54A

Accessibility & contrast

On white

4.27
#897B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#897B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B1E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B1E#FFFFFF#000000##000000
##897B1E1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770A
Deuteranopia (green-blind)
#8B7D25
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897b1e;
/* rgb */ color: rgb(137, 123, 30);
/* oklch */ color: oklch(57.9% 0.110 100.3);
Tailwind
colors: {
  custom: {
    50: '#afa062',
    500: '#897b1e',
    950: '#000000',
  },
}
SCSS
$custom: #897b1e;
$custom-light: #afa062;
$custom-dark: #000000;
JSON
{
  "hex": "#897b1e",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 52.15,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.10952,
    "h": 100.3
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#897B1E
secondary
#4958BA
accent
#56E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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