#897C29#897C29

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

Color values

HEX#897C29
RGBrgb(137, 124, 41)
HSLhsl(52, 54%, 35%)
HSVhsv(52, 70%, 54%)
CMYKcmyk(0%, 9.5%, 70.1%, 46.3%)
CIE-LABlab(51.72, -5.15, 45.17)
CIE-LCHlch(51.72, 45.46, 96.51°)
OKLaboklab(58.2% -0.0184 0.1013)
OKLCHoklch(58.2% 0.103 100.3)
XYZxyz(17.9252, 19.8946, 4.9932)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C29 #293689
analogous
#894C29 #897C29 #668929
triadic
#897C29 #29897C #7C2989
tetradic
#897C29 #29894C #293689 #892966
square
#897C29 #29894C #293689 #892966
split-complementary
#897C29 #296689 #4C2989
monochromatic
#2B270D #5A511B #897C29 #B8A737 #CFBF5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897C29#FFFFFF#000000##000000
##897C291.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)
#88781E
Deuteranopia (green-blind)
#8C7D2E
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c29;
/* rgb */ color: rgb(137, 124, 41);
/* oklch */ color: oklch(58.2% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#aea168',
    500: '#897c29',
    950: '#000000',
  },
}
SCSS
$custom: #897c29;
$custom-light: #aea168;
$custom-dark: #000000;
JSON
{
  "hex": "#897c29",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 51.875,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.10297,
    "h": 100.3
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#897C29
secondary
#5A66B4
accent
#5EDD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C29

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

Preview Lab → · Contrast checker → · Palette generator →

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