#897B29#897B29

#897B29 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.102 H 99.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#897B29
RGBrgb(137, 123, 41)
HSLhsl(51, 54%, 35%)
HSVhsv(51, 70%, 54%)
CMYKcmyk(0%, 10.2%, 70.1%, 46.3%)
CIE-LABlab(51.43, -4.60, 44.88)
CIE-LCHlch(51.43, 45.11, 95.85°)
OKLaboklab(57.98% -0.0168 0.1007)
OKLCHoklch(57.98% 0.102 99.5)
XYZxyz(17.8005, 19.6452, 4.9517)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897B29 #293789
analogous
#894B29 #897B29 #678929
triadic
#897B29 #29897B #7B2989
tetradic
#897B29 #29894B #293789 #892967
square
#897B29 #29894B #293789 #892967
split-complementary
#897B29 #296789 #4B2989
monochromatic
#2B260D #5A511B #897B29 #B8A537 #CFBE5E

Accessibility & contrast

On white

4.26
#897B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#897B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897B29
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897B29#FFFFFF#000000##000000
##897B291.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897b29;
/* rgb */ color: rgb(137, 123, 41);
/* oklch */ color: oklch(58.0% 0.102 99.5);
Tailwind
colors: {
  custom: {
    50: '#aea068',
    500: '#897b29',
    950: '#000000',
  },
}
SCSS
$custom: #897b29;
$custom-light: #aea068;
$custom-dark: #000000;
JSON
{
  "hex": "#897b29",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 51.25,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57977,
    "c": 0.1021,
    "h": 99.5
  },
  "luminance": 0.19644
}

Semantic roles & 50–950 ramp

primary
#897B29
secondary
#5A67B4
accent
#60DD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897B29

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

Preview Lab → · Contrast checker → · Palette generator →

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