#897A29#897A29

#897A29 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.101 H 98.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#897A29
RGBrgb(137, 122, 41)
HSLhsl(51, 54%, 35%)
HSVhsv(51, 70%, 54%)
CMYKcmyk(0%, 10.9%, 70.1%, 46.3%)
CIE-LABlab(51.15, -4.04, 44.59)
CIE-LCHlch(51.15, 44.77, 95.17°)
OKLaboklab(57.75% -0.0152 0.1001)
OKLCHoklch(57.75% 0.101 98.6)
XYZxyz(17.6771, 19.3984, 4.9105)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A29 #293889
analogous
#894A29 #897A29 #688929
triadic
#897A29 #29897A #7A2989
tetradic
#897A29 #29894A #293889 #892968
square
#897A29 #29894A #293889 #892968
split-complementary
#897A29 #296889 #4A2989
monochromatic
#2B260D #5A501B #897A29 #B8A437 #CFBD5E

Accessibility & contrast

On white

4.30
#897A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#897A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A29
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A29#FFFFFF#000000##000000
##897A291.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771E
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a29;
/* rgb */ color: rgb(137, 122, 41);
/* oklch */ color: oklch(57.8% 0.101 98.6);
Tailwind
colors: {
  custom: {
    50: '#aea068',
    500: '#897a29',
    950: '#000000',
  },
}
SCSS
$custom: #897a29;
$custom-light: #aea068;
$custom-dark: #000000;
JSON
{
  "hex": "#897a29",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 50.625,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.10124,
    "h": 98.6
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#897A29
secondary
#5A68B4
accent
#61DD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897A29

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

Preview Lab → · Contrast checker → · Palette generator →

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