#897F2C#897F2C

#897F2C is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.103 H 102.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#897F2C
RGBrgb(137, 127, 44)
HSLhsl(54, 51%, 35%)
HSVhsv(54, 68%, 54%)
CMYKcmyk(0%, 7.3%, 67.9%, 46.3%)
CIE-LABlab(52.60, -6.64, 44.76)
CIE-LCHlch(52.60, 45.25, 98.43°)
OKLaboklab(58.91% -0.0222 0.101)
OKLCHoklch(58.91% 0.103 102.4)
XYZxyz(18.3613, 20.6797, 5.4068)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F2C #2C3689
analogous
#89502C #897F2C #65892C
triadic
#897F2C #2C897F #7F2C89
tetradic
#897F2C #2C8950 #2C3689 #892C65
square
#897F2C #2C8950 #2C3689 #892C65
split-complementary
#897F2C #2C6589 #502C89
monochromatic
#2C290E #5B541D #897F2C #B7AA3B #CDC163

Accessibility & contrast

On white

4.09
#897F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#897F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897F2C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897F2C#FFFFFF#000000##000000
##897F2C1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B21
Deuteranopia (green-blind)
#8E7F31
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897f2c;
/* rgb */ color: rgb(137, 127, 44);
/* oklch */ color: oklch(58.9% 0.103 102.4);
Tailwind
colors: {
  custom: {
    50: '#aea36a',
    500: '#897f2c',
    950: '#000000',
  },
}
SCSS
$custom: #897f2c;
$custom-light: #aea36a;
$custom-dark: #000000;
JSON
{
  "hex": "#897f2c",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 53.548,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58908,
    "c": 0.10341,
    "h": 102.4
  },
  "luminance": 0.20679
}

Semantic roles & 50–950 ramp

primary
#897F2C
secondary
#5E67B3
accent
#5CDB4D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #897F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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