#897A24#897A24

#897A24 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.105 H 99.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#897A24
RGBrgb(137, 122, 36)
HSLhsl(51, 58%, 34%)
HSVhsv(51, 74%, 54%)
CMYKcmyk(0%, 10.9%, 73.7%, 46.3%)
CIE-LABlab(51.11, -4.31, 46.67)
CIE-LCHlch(51.11, 46.86, 95.28°)
OKLaboklab(57.71% -0.0165 0.1036)
OKLCHoklch(57.71% 0.105 99.1)
XYZxyz(17.5953, 19.3657, 4.4799)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A24 #243389
analogous
#894824 #897A24 #668924
triadic
#897A24 #24897A #7A2489
tetradic
#897A24 #248948 #243389 #892466
square
#897A24 #248948 #243389 #892466
split-complementary
#897A24 #246689 #482489
monochromatic
#28240B #594F17 #897A24 #B9A531 #D2C055

Accessibility & contrast

On white

4.31
#897A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#897A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A24
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A24#FFFFFF#000000##000000
##897A241.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867716
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#947169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a24;
/* rgb */ color: rgb(137, 122, 36);
/* oklch */ color: oklch(57.7% 0.105 99.1);
Tailwind
colors: {
  custom: {
    50: '#afa065',
    500: '#897a24',
    950: '#000000',
  },
}
SCSS
$custom: #897a24;
$custom-light: #afa065;
$custom-dark: #000000;
JSON
{
  "hex": "#897a24",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 51.089,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.10486,
    "h": 99.1
  },
  "luminance": 0.19365
}

Semantic roles & 50–950 ramp

primary
#897A24
secondary
#5261B7
accent
#5DE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897A24

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

Preview Lab → · Contrast checker → · Palette generator →

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