#897229#897229

#897229 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 56.0% C 0.095 H 91.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#897229
RGBrgb(137, 114, 41)
HSLhsl(46, 54%, 35%)
HSVhsv(46, 70%, 54%)
CMYKcmyk(0%, 16.8%, 70.1%, 46.3%)
CIE-LABlab(48.90, 0.49, 42.26)
CIE-LCHlch(48.90, 42.26, 89.33°)
OKLaboklab(55.97% -0.0022 0.0952)
OKLCHoklch(55.97% 0.095 91.3)
XYZxyz(16.7350, 17.5141, 4.5965)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897229 #294089
analogous
#894229 #897229 #708929
triadic
#897229 #298972 #722989
tetradic
#897229 #298942 #294089 #892970
square
#897229 #298942 #294089 #892970
split-complementary
#897229 #297089 #422989
monochromatic
#2B240D #5A4B1B #897229 #B89937 #CFB45E

Accessibility & contrast

On white

4.66
#897229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#897229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #897229
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897229#FFFFFF#000000##FFFFFF
##8972291.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7020
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#946963
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #897229;
/* rgb */ color: rgb(137, 114, 41);
/* oklch */ color: oklch(56.0% 0.095 91.3);
Tailwind
colors: {
  custom: {
    50: '#af9a67',
    500: '#897229',
    950: '#000000',
  },
}
SCSS
$custom: #897229;
$custom-light: #af9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#897229",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 45.625,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55974,
    "c": 0.0952,
    "h": 91.3
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#897229
secondary
#5A6FB4
accent
#6EDD4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897229

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

Preview Lab → · Contrast checker → · Palette generator →

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