#897C28#897C28

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

Color values

HEX#897C28
RGBrgb(137, 124, 40)
HSLhsl(52, 55%, 35%)
HSVhsv(52, 71%, 54%)
CMYKcmyk(0%, 9.5%, 70.8%, 46.3%)
CIE-LABlab(51.71, -5.21, 45.59)
CIE-LCHlch(51.71, 45.89, 96.52°)
OKLaboklab(58.19% -0.0186 0.102)
OKLCHoklch(58.19% 0.104 100.4)
XYZxyz(17.9080, 19.8877, 4.9025)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C28 #283589
analogous
#894C28 #897C28 #658928
triadic
#897C28 #28897C #7C2889
tetradic
#897C28 #28894C #283589 #892865
square
#897C28 #28894C #283589 #892865
split-complementary
#897C28 #286589 #4C2889
monochromatic
#2A260C #5A511A #897C28 #B8A736 #CFC05C

Accessibility & contrast

On white

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

On black

4.98
#897C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C28
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C28#FFFFFF#000000##000000
##897C281.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781C
Deuteranopia (green-blind)
#8C7D2D
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c28;
/* rgb */ color: rgb(137, 124, 40);
/* oklch */ color: oklch(58.2% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#aea167',
    500: '#897c28',
    950: '#000000',
  },
}
SCSS
$custom: #897c28;
$custom-light: #aea167;
$custom-dark: #000000;
JSON
{
  "hex": "#897c28",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 51.959,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58194,
    "c": 0.10372,
    "h": 100.4
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#897C28
secondary
#5865B5
accent
#5EDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C28

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

Preview Lab → · Contrast checker → · Palette generator →

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