#897D28#897D28

#897D28 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.105 H 101.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#897D28
RGBrgb(137, 125, 40)
HSLhsl(53, 55%, 35%)
HSVhsv(53, 71%, 54%)
CMYKcmyk(0%, 8.8%, 70.8%, 46.3%)
CIE-LABlab(51.99, -5.77, 45.88)
CIE-LCHlch(51.99, 46.24, 97.17°)
OKLaboklab(58.42% -0.0202 0.1026)
OKLCHoklch(58.42% 0.105 101.1)
XYZxyz(18.0339, 20.1396, 4.9445)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897D28 #283489
analogous
#894C28 #897D28 #658928
triadic
#897D28 #28897D #7D2889
tetradic
#897D28 #28894C #283489 #892865
square
#897D28 #28894C #283489 #892865
split-complementary
#897D28 #286589 #4C2889
monochromatic
#2A270C #5A521A #897D28 #B8A836 #CFC15C

Accessibility & contrast

On white

4.18
#897D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#897D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897D28
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897D28#FFFFFF#000000##000000
##897D281.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791C
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#94746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #897d28;
/* rgb */ color: rgb(137, 125, 40);
/* oklch */ color: oklch(58.4% 0.105 101.1);
Tailwind
colors: {
  custom: {
    50: '#aea267',
    500: '#897d28',
    950: '#000000',
  },
}
SCSS
$custom: #897d28;
$custom-light: #aea267;
$custom-dark: #000000;
JSON
{
  "hex": "#897d28",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 52.577,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.10461,
    "h": 101.1
  },
  "luminance": 0.20139
}

Semantic roles & 50–950 ramp

primary
#897D28
secondary
#5864B5
accent
#5CDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897D28

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

Preview Lab → · Contrast checker → · Palette generator →

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