#897129#897129

#897129 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.8% C 0.095 H 90.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#897129
RGBrgb(137, 113, 41)
HSLhsl(45, 54%, 35%)
HSVhsv(45, 70%, 54%)
CMYKcmyk(0%, 17.5%, 70.1%, 46.3%)
CIE-LABlab(48.62, 1.07, 41.97)
CIE-LCHlch(48.62, 41.98, 88.54°)
OKLaboklab(55.75% -0.0006 0.0946)
OKLCHoklch(55.75% 0.095 90.3)
XYZxyz(16.6228, 17.2897, 4.5591)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897129 #294189
analogous
#894129 #897129 #718929
triadic
#897129 #298971 #712989
tetradic
#897129 #298941 #294189 #892971
square
#897129 #298941 #294189 #892971
split-complementary
#897129 #297189 #412989
monochromatic
#2B230D #5A4A1B #897129 #B89837 #CFB25E

Accessibility & contrast

On white

4.71
#897129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#897129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897129
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897129#FFFFFF#000000##FFFFFF
##8971291.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#946862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #897129;
/* rgb */ color: rgb(137, 113, 41);
/* oklch */ color: oklch(55.8% 0.095 90.3);
Tailwind
colors: {
  custom: {
    50: '#af9967',
    500: '#897129',
    950: '#000000',
  },
}
SCSS
$custom: #897129;
$custom-light: #af9967;
$custom-dark: #000000;
JSON
{
  "hex": "#897129",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 45,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.09456,
    "h": 90.3
  },
  "luminance": 0.17289
}

Semantic roles & 50–950 ramp

primary
#897129
secondary
#5A70B4
accent
#6FDD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #897129

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

Preview Lab → · Contrast checker → · Palette generator →

#897129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva