#897A1E#897A1E

#897A1E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.109 H 99.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#897A1E
RGBrgb(137, 122, 30)
HSLhsl(52, 64%, 33%)
HSVhsv(52, 78%, 54%)
CMYKcmyk(0%, 10.9%, 78.1%, 46.3%)
CIE-LABlab(51.07, -4.60, 48.95)
CIE-LCHlch(51.07, 49.17, 95.37°)
OKLaboklab(57.67% -0.018 0.1072)
OKLCHoklch(57.67% 0.109 99.5)
XYZxyz(17.5113, 19.3320, 4.0371)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A1E #1E2D89
analogous
#89451E #897A1E #62891E
triadic
#897A1E #1E897A #7A1E89
tetradic
#897A1E #1E8945 #1E2D89 #891E62
square
#897A1E #1E8945 #1E2D89 #891E62
split-complementary
#897A1E #1E6289 #451E89
monochromatic
#252108 #574D13 #897A1E #BBA729 #D7C44A

Accessibility & contrast

On white

4.32
#897A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#897A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A1E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A1E#FFFFFF#000000##000000
##897A1E1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86770B
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a1e;
/* rgb */ color: rgb(137, 122, 30);
/* oklch */ color: oklch(57.7% 0.109 99.5);
Tailwind
colors: {
  custom: {
    50: '#afa062',
    500: '#897a1e',
    950: '#000000',
  },
}
SCSS
$custom: #897a1e;
$custom-light: #afa062;
$custom-dark: #000000;
JSON
{
  "hex": "#897a1e",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 51.589,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57667,
    "c": 0.10869,
    "h": 99.5
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#897A1E
secondary
#4959BA
accent
#58E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #897A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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