#897C25#897C25

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

Color values

HEX#897C25
RGBrgb(137, 124, 37)
HSLhsl(52, 57%, 34%)
HSVhsv(52, 73%, 54%)
CMYKcmyk(0%, 9.5%, 73%, 46.3%)
CIE-LABlab(51.69, -5.38, 46.82)
CIE-LCHlch(51.69, 47.13, 96.55°)
OKLaboklab(58.17% -0.0195 0.1041)
OKLCHoklch(58.17% 0.106 100.6)
XYZxyz(17.8589, 19.8681, 4.6441)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C25 #253289
analogous
#894A25 #897C25 #648925
triadic
#897C25 #25897C #7C2589
tetradic
#897C25 #25894A #253289 #892564
square
#897C25 #25894A #253289 #892564
split-complementary
#897C25 #256489 #4A2589
monochromatic
#29250B #595018 #897C25 #B9A832 #D2C257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897C25#FFFFFF#000000##000000
##897C251.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)
#887817
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c25;
/* rgb */ color: rgb(137, 124, 37);
/* oklch */ color: oklch(58.2% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#afa166',
    500: '#897c25',
    950: '#000000',
  },
}
SCSS
$custom: #897c25;
$custom-light: #afa166;
$custom-dark: #000000;
JSON
{
  "hex": "#897c25",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 52.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.10588,
    "h": 100.6
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#897C25
secondary
#5461B6
accent
#5BE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C25

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

Preview Lab → · Contrast checker → · Palette generator →

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