#897C23#897C23

#897C23 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.107 H 100.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#897C23
RGBrgb(137, 124, 35)
HSLhsl(52, 59%, 34%)
HSVhsv(52, 74%, 54%)
CMYKcmyk(0%, 9.5%, 74.5%, 46.3%)
CIE-LABlab(51.67, -5.48, 47.62)
CIE-LCHlch(51.67, 47.93, 96.57°)
OKLaboklab(58.15% -0.02 0.1054)
OKLCHoklch(58.15% 0.107 100.7)
XYZxyz(17.8284, 19.8558, 4.4833)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C23 #233089
analogous
#894923 #897C23 #638923
triadic
#897C23 #23897C #7C2389
tetradic
#897C23 #238949 #233089 #892363
square
#897C23 #238949 #233089 #892363
split-complementary
#897C23 #236389 #492389
monochromatic
#28240A #585017 #897C23 #BAA82F #D3C353

Accessibility & contrast

On white

4.22
#897C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#897C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C23
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C23#FFFFFF#000000##000000
##897C231.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c23;
/* rgb */ color: rgb(137, 124, 35);
/* oklch */ color: oklch(58.2% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#afa164',
    500: '#897c23',
    950: '#000000',
  },
}
SCSS
$custom: #897c23;
$custom-light: #afa164;
$custom-dark: #000000;
JSON
{
  "hex": "#897c23",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 52.353,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.10725,
    "h": 100.7
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#897C23
secondary
#515EB7
accent
#59E245
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C23

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

Preview Lab → · Contrast checker → · Palette generator →

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