#897E28#897E28

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

Color values

HEX#897E28
RGBrgb(137, 126, 40)
HSLhsl(53, 55%, 35%)
HSVhsv(53, 71%, 54%)
CMYKcmyk(0%, 8%, 70.8%, 46.3%)
CIE-LABlab(52.28, -6.32, 46.17)
CIE-LCHlch(52.28, 46.60, 97.80°)
OKLaboklab(58.65% -0.0218 0.1033)
OKLCHoklch(58.65% 0.106 101.9)
XYZxyz(18.1612, 20.3940, 4.9869)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E28 #283389
analogous
#894E28 #897E28 #648928
triadic
#897E28 #28897E #7E2889
tetradic
#897E28 #28894E #283389 #892864
square
#897E28 #28894E #283389 #892864
split-complementary
#897E28 #286489 #4E2889
monochromatic
#2A270C #5A521A #897E28 #B8AA36 #CFC25C

Accessibility & contrast

On white

4.13
#897E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#897E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897E28
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897E28#FFFFFF#000000##000000
##897E281.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#94756D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897e28;
/* rgb */ color: rgb(137, 126, 40);
/* oklch */ color: oklch(58.6% 0.106 101.9);
Tailwind
colors: {
  custom: {
    50: '#aea367',
    500: '#897e28',
    950: '#000000',
  },
}
SCSS
$custom: #897e28;
$custom-light: #aea367;
$custom-dark: #000000;
JSON
{
  "hex": "#897e28",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 53.196,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.10553,
    "h": 101.9
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#897E28
secondary
#5863B5
accent
#5ADE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897E28

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

Preview Lab → · Contrast checker → · Palette generator →

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