#897D1E#897D1E

#897D1E is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.111 H 101.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#897D1E
RGBrgb(137, 125, 30)
HSLhsl(53, 64%, 33%)
HSVhsv(53, 78%, 54%)
CMYKcmyk(0%, 8.8%, 78.1%, 46.3%)
CIE-LABlab(51.93, -6.27, 49.75)
CIE-LCHlch(51.93, 50.14, 97.18°)
OKLaboklab(58.35% -0.0227 0.1089)
OKLCHoklch(58.35% 0.111 101.8)
XYZxyz(17.8853, 20.0801, 4.1618)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D1E #1E2A89
analogous
#89471E #897D1E #5F891E
triadic
#897D1E #1E897D #7D1E89
tetradic
#897D1E #1E8947 #1E2A89 #891E5F
square
#897D1E #1E8947 #1E2A89 #891E5F
split-complementary
#897D1E #1E5F89 #471E89
monochromatic
#252108 #574F13 #897D1E #BBAB29 #D7C84A

Accessibility & contrast

On white

4.19
#897D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#897D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D1E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D1E#FFFFFF#000000##000000
##897D1E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#94746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d1e;
/* rgb */ color: rgb(137, 125, 30);
/* oklch */ color: oklch(58.3% 0.111 101.8);
Tailwind
colors: {
  custom: {
    50: '#afa262',
    500: '#897d1e',
    950: '#000000',
  },
}
SCSS
$custom: #897d1e;
$custom-light: #afa262;
$custom-dark: #000000;
JSON
{
  "hex": "#897d1e",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 53.271,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.11123,
    "h": 101.8
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#897D1E
secondary
#4956BA
accent
#53E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #897D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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