#897C1E#897C1E

#897C1E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.110 H 101.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#897C1E
RGBrgb(137, 124, 30)
HSLhsl(53, 64%, 33%)
HSVhsv(53, 78%, 54%)
CMYKcmyk(0%, 9.5%, 78.1%, 46.3%)
CIE-LABlab(51.64, -5.72, 49.48)
CIE-LCHlch(51.64, 49.81, 96.59°)
OKLaboklab(58.12% -0.0212 0.1083)
OKLCHoklch(58.12% 0.11 101.1)
XYZxyz(17.7594, 19.8282, 4.1198)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C1E #1E2B89
analogous
#89461E #897C1E #61891E
triadic
#897C1E #1E897C #7C1E89
tetradic
#897C1E #1E8946 #1E2B89 #891E61
square
#897C1E #1E8946 #1E2B89 #891E61
split-complementary
#897C1E #1E6189 #461E89
monochromatic
#252108 #574F13 #897C1E #BBA929 #D7C64A

Accessibility & contrast

On white

4.23
#897C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#897C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C1E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C1E#FFFFFF#000000##000000
##897C1E1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#94736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c1e;
/* rgb */ color: rgb(137, 124, 30);
/* oklch */ color: oklch(58.1% 0.110 101.1);
Tailwind
colors: {
  custom: {
    50: '#afa162',
    500: '#897c1e',
    950: '#000000',
  },
}
SCSS
$custom: #897c1e;
$custom-light: #afa162;
$custom-dark: #000000;
JSON
{
  "hex": "#897c1e",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 52.71,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.11036,
    "h": 101.1
  },
  "luminance": 0.19827
}

Semantic roles & 50–950 ramp

primary
#897C1E
secondary
#4957BA
accent
#55E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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