#897E1E#897E1E

#897E1E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.112 H 102.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#897E1E
RGBrgb(137, 126, 30)
HSLhsl(54, 64%, 33%)
HSVhsv(54, 78%, 54%)
CMYKcmyk(0%, 8%, 78.1%, 46.3%)
CIE-LABlab(52.21, -6.82, 50.01)
CIE-LCHlch(52.21, 50.47, 97.77°)
OKLaboklab(58.57% -0.0243 0.1094)
OKLCHoklch(58.57% 0.112 102.5)
XYZxyz(18.0126, 20.3346, 4.2042)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E1E #1E2989
analogous
#89491E #897E1E #5E891E
triadic
#897E1E #1E897E #7E1E89
tetradic
#897E1E #1E8949 #1E2989 #891E5E
square
#897E1E #1E8949 #1E2989 #891E5E
split-complementary
#897E1E #1E5E89 #491E89
monochromatic
#252208 #575013 #897E1E #BBAC29 #D7C94A

Accessibility & contrast

On white

4.14
#897E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#897E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E1E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E1E#FFFFFF#000000##000000
##897E1E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #897e1e;
/* rgb */ color: rgb(137, 126, 30);
/* oklch */ color: oklch(58.6% 0.112 102.5);
Tailwind
colors: {
  custom: {
    50: '#afa362',
    500: '#897e1e',
    950: '#000000',
  },
}
SCSS
$custom: #897e1e;
$custom-light: #afa362;
$custom-dark: #000000;
JSON
{
  "hex": "#897e1e",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 53.832,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.1121,
    "h": 102.5
  },
  "luminance": 0.20334
}

Semantic roles & 50–950 ramp

primary
#897E1E
secondary
#4955BA
accent
#52E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #897E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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