#897724#897724

#897724 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.102 H 96.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#897724
RGBrgb(137, 119, 36)
HSLhsl(49, 58%, 34%)
HSVhsv(49, 74%, 54%)
CMYKcmyk(0%, 13.1%, 73.7%, 46.3%)
CIE-LABlab(50.26, -2.63, 45.83)
CIE-LCHlch(50.26, 45.90, 93.28°)
OKLaboklab(57.04% -0.0118 0.1018)
OKLCHoklch(57.04% 0.102 96.6)
XYZxyz(17.2327, 18.6403, 4.3590)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897724 #243689
analogous
#894524 #897724 #698924
triadic
#897724 #248977 #772489
tetradic
#897724 #248945 #243689 #892469
square
#897724 #248945 #243689 #892469
split-complementary
#897724 #246989 #452489
monochromatic
#28230B #594D17 #897724 #B9A131 #D2BC55

Accessibility & contrast

On white

4.44
#897724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#897724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897724
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897724#FFFFFF#000000##000000
##8977241.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837417
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#946E66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897724;
/* rgb */ color: rgb(137, 119, 36);
/* oklch */ color: oklch(57.0% 0.102 96.6);
Tailwind
colors: {
  custom: {
    50: '#af9d64',
    500: '#897724',
    950: '#000000',
  },
}
SCSS
$custom: #897724;
$custom-light: #af9d64;
$custom-dark: #000000;
JSON
{
  "hex": "#897724",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 49.307,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.10246,
    "h": 96.6
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#897724
secondary
#5264B7
accent
#62E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897724

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

Preview Lab → · Contrast checker → · Palette generator →

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