#897F29#897F29

#897F29 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.106 H 102.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#897F29
RGBrgb(137, 127, 41)
HSLhsl(54, 54%, 35%)
HSVhsv(54, 70%, 54%)
CMYKcmyk(0%, 7.3%, 70.1%, 46.3%)
CIE-LABlab(52.57, -6.82, 46.04)
CIE-LCHlch(52.57, 46.54, 98.43°)
OKLaboklab(58.88% -0.0231 0.1032)
OKLCHoklch(58.88% 0.106 102.6)
XYZxyz(18.3069, 20.6580, 5.1205)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F29 #293389
analogous
#894F29 #897F29 #638929
triadic
#897F29 #29897F #7F2989
tetradic
#897F29 #29894F #293389 #892963
square
#897F29 #29894F #293389 #892963
split-complementary
#897F29 #296389 #4F2989
monochromatic
#2B280D #5A531B #897F29 #B8AB37 #CFC35E

Accessibility & contrast

On white

4.09
#897F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#897F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897F29
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897F29#FFFFFF#000000##000000
##897F291.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#8E7F2E
Tritanopia (blue-blind)
#93766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897f29;
/* rgb */ color: rgb(137, 127, 41);
/* oklch */ color: oklch(58.9% 0.106 102.6);
Tailwind
colors: {
  custom: {
    50: '#aea368',
    500: '#897f29',
    950: '#000000',
  },
}
SCSS
$custom: #897f29;
$custom-light: #aea368;
$custom-dark: #000000;
JSON
{
  "hex": "#897f29",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 53.75,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58881,
    "c": 0.10571,
    "h": 102.6
  },
  "luminance": 0.20657
}

Semantic roles & 50–950 ramp

primary
#897F29
secondary
#5A63B4
accent
#5ADD4A
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #897F29

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

Preview Lab → · Contrast checker → · Palette generator →

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