#897E1C#897E1C

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

Color values

HEX#897E1C
RGBrgb(137, 126, 28)
HSLhsl(54, 66%, 32%)
HSVhsv(54, 80%, 54%)
CMYKcmyk(0%, 8%, 79.6%, 46.3%)
CIE-LABlab(52.20, -6.91, 50.70)
CIE-LCHlch(52.20, 51.17, 97.76°)
OKLaboklab(58.56% -0.0247 0.1105)
OKLCHoklch(58.56% 0.113 102.6)
XYZxyz(17.9878, 20.3247, 4.0740)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E1C #1C2789
analogous
#89481C #897E1C #5E891C
triadic
#897E1C #1C897E #7E1C89
tetradic
#897E1C #1C8948 #1C2789 #891C5E
square
#897E1C #1C8948 #1C2789 #891C5E
split-complementary
#897E1C #1C5E89 #481C89
monochromatic
#232107 #564F12 #897E1C #BCAD26 #D9CA46

Accessibility & contrast

On white

4.15
#897E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#897E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E1C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E1C#FFFFFF#000000##000000
##897E1C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A04
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897e1c;
/* rgb */ color: rgb(137, 126, 28);
/* oklch */ color: oklch(58.6% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#afa361',
    500: '#897e1c',
    950: '#000000',
  },
}
SCSS
$custom: #897e1c;
$custom-light: #afa361;
$custom-dark: #000000;
JSON
{
  "hex": "#897e1c",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 28
  },
  "hsl": {
    "h": 53.945,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.11323,
    "h": 102.6
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#897E1C
secondary
#4652BB
accent
#50E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #897E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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