#897D29#897D29

#897D29 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.104 H 101.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#897D29
RGBrgb(137, 125, 41)
HSLhsl(53, 54%, 35%)
HSVhsv(53, 70%, 54%)
CMYKcmyk(0%, 8.8%, 70.1%, 46.3%)
CIE-LABlab(52.00, -5.71, 45.46)
CIE-LCHlch(52.00, 45.82, 97.16°)
OKLaboklab(58.43% -0.0199 0.1019)
OKLCHoklch(58.43% 0.104 101.1)
XYZxyz(18.0512, 20.1465, 5.0352)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D29 #293589
analogous
#894D29 #897D29 #658929
triadic
#897D29 #29897D #7D2989
tetradic
#897D29 #29894D #293589 #892965
square
#897D29 #29894D #293589 #892965
split-complementary
#897D29 #296589 #4D2989
monochromatic
#2B270D #5A521B #897D29 #B8A837 #CFC15E

Accessibility & contrast

On white

4.18
#897D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#897D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D29
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D29#FFFFFF#000000##000000
##897D291.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791D
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#94746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d29;
/* rgb */ color: rgb(137, 125, 41);
/* oklch */ color: oklch(58.4% 0.104 101.1);
Tailwind
colors: {
  custom: {
    50: '#aea268',
    500: '#897d29',
    950: '#000000',
  },
}
SCSS
$custom: #897d29;
$custom-light: #aea268;
$custom-dark: #000000;
JSON
{
  "hex": "#897d29",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 52.5,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.10387,
    "h": 101.1
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#897D29
secondary
#5A65B4
accent
#5DDD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897D29

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

Preview Lab → · Contrast checker → · Palette generator →

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