#897E27#897E27

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

Color values

HEX#897E27
RGBrgb(137, 126, 39)
HSLhsl(53, 56%, 35%)
HSVhsv(53, 72%, 54%)
CMYKcmyk(0%, 8%, 71.5%, 46.3%)
CIE-LABlab(52.27, -6.38, 46.58)
CIE-LCHlch(52.27, 47.01, 97.80°)
OKLaboklab(58.64% -0.0221 0.1039)
OKLCHoklch(58.64% 0.106 102)
XYZxyz(18.1444, 20.3873, 4.8985)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897E27 #273289
analogous
#894D27 #897E27 #638927
triadic
#897E27 #27897E #7E2789
tetradic
#897E27 #27894D #273289 #892763
square
#897E27 #27894D #273289 #892763
split-complementary
#897E27 #276389 #4D2789
monochromatic
#2A260C #595219 #897E27 #B9AA35 #D0C35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##897E27#FFFFFF#000000##000000
##897E271.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #897e27;
/* rgb */ color: rgb(137, 126, 39);
/* oklch */ color: oklch(58.6% 0.106 102.0);
Tailwind
colors: {
  custom: {
    50: '#aea367',
    500: '#897e27',
    950: '#000000',
  },
}
SCSS
$custom: #897e27;
$custom-light: #aea367;
$custom-dark: #000000;
JSON
{
  "hex": "#897e27",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 53.265,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.10626,
    "h": 102
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#897E27
secondary
#5761B5
accent
#5ADF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #897E27

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

Preview Lab → · Contrast checker → · Palette generator →

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