#897C24#897C24

#897C24 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.107 H 100.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#897C24
RGBrgb(137, 124, 36)
HSLhsl(52, 58%, 34%)
HSVhsv(52, 74%, 54%)
CMYKcmyk(0%, 9.5%, 73.7%, 46.3%)
CIE-LABlab(51.68, -5.43, 47.22)
CIE-LCHlch(51.68, 47.53, 96.56°)
OKLaboklab(58.16% -0.0197 0.1047)
OKLCHoklch(58.16% 0.107 100.7)
XYZxyz(17.8434, 19.8619, 4.5626)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C24 #243189
analogous
#894A24 #897C24 #648924
triadic
#897C24 #24897C #7C2489
tetradic
#897C24 #24894A #243189 #892464
square
#897C24 #24894A #243189 #892464
split-complementary
#897C24 #246489 #4A2489
monochromatic
#28240B #595017 #897C24 #B9A831 #D2C255

Accessibility & contrast

On white

4.22
#897C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#897C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C24
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C24#FFFFFF#000000##000000
##897C241.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887816
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#94736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c24;
/* rgb */ color: rgb(137, 124, 36);
/* oklch */ color: oklch(58.2% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#afa165',
    500: '#897c24',
    950: '#000000',
  },
}
SCSS
$custom: #897c24;
$custom-light: #afa165;
$custom-dark: #000000;
JSON
{
  "hex": "#897c24",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 52.277,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.10657,
    "h": 100.7
  },
  "luminance": 0.19861
}

Semantic roles & 50–950 ramp

primary
#897C24
secondary
#525FB7
accent
#5AE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897C24

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

Preview Lab → · Contrast checker → · Palette generator →

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