#897F2D#897F2D

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

Color values

HEX#897F2D
RGBrgb(137, 127, 45)
HSLhsl(53, 51%, 36%)
HSVhsv(53, 67%, 54%)
CMYKcmyk(0%, 7.3%, 67.2%, 46.3%)
CIE-LABlab(52.61, -6.57, 44.32)
CIE-LCHlch(52.61, 44.81, 98.44°)
OKLaboklab(58.92% -0.0219 0.1002)
OKLCHoklch(58.92% 0.103 102.3)
XYZxyz(18.3803, 20.6873, 5.5070)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F2D #2D3789
analogous
#89512D #897F2D #65892D
triadic
#897F2D #2D897F #7F2D89
tetradic
#897F2D #2D8951 #2D3789 #892D65
square
#897F2D #2D8951 #2D3789 #892D65
split-complementary
#897F2D #2D6589 #512D89
monochromatic
#2D2A0F #5B541E #897F2D #B7AA3C #CCC164

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897F2D#FFFFFF#000000##000000
##897F2D1.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)
#8A7B23
Deuteranopia (green-blind)
#8E7F32
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #897f2d;
/* rgb */ color: rgb(137, 127, 45);
/* oklch */ color: oklch(58.9% 0.103 102.3);
Tailwind
colors: {
  custom: {
    50: '#aea36a',
    500: '#897f2d',
    950: '#000000',
  },
}
SCSS
$custom: #897f2d;
$custom-light: #aea36a;
$custom-dark: #000000;
JSON
{
  "hex": "#897f2d",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 53.478,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58918,
    "c": 0.1026,
    "h": 102.3
  },
  "luminance": 0.20687
}

Semantic roles & 50–950 ramp

primary
#897F2D
secondary
#5F68B3
accent
#5DDA4E
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #897F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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