#897E24#897E24

#897E24 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.108 H 102.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#897E24
RGBrgb(137, 126, 36)
HSLhsl(53, 58%, 34%)
HSVhsv(53, 74%, 54%)
CMYKcmyk(0%, 8%, 73.7%, 46.3%)
CIE-LABlab(52.25, -6.54, 47.78)
CIE-LCHlch(52.25, 48.23, 97.79°)
OKLaboklab(58.61% -0.0229 0.1059)
OKLCHoklch(58.61% 0.108 102.2)
XYZxyz(18.0966, 20.3682, 4.6470)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E24 #242F89
analogous
#894C24 #897E24 #628924
triadic
#897E24 #24897E #7E2489
tetradic
#897E24 #24894C #242F89 #892462
square
#897E24 #24894C #242F89 #892462
split-complementary
#897E24 #246289 #4C2489
monochromatic
#28250B #595117 #897E24 #B9AB31 #D2C555

Accessibility & contrast

On white

4.14
#897E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#897E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E24
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E24#FFFFFF#000000##000000
##897E241.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897e24;
/* rgb */ color: rgb(137, 126, 36);
/* oklch */ color: oklch(58.6% 0.108 102.2);
Tailwind
colors: {
  custom: {
    50: '#afa365',
    500: '#897e24',
    950: '#000000',
  },
}
SCSS
$custom: #897e24;
$custom-light: #afa365;
$custom-dark: #000000;
JSON
{
  "hex": "#897e24",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 53.465,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.10835,
    "h": 102.2
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#897E24
secondary
#525DB7
accent
#57E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897E24

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

Preview Lab → · Contrast checker → · Palette generator →

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