#897727#897727

#897727 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.100 H 96.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#897727
RGBrgb(137, 119, 39)
HSLhsl(49, 56%, 35%)
HSVhsv(49, 72%, 54%)
CMYKcmyk(0%, 13.1%, 71.5%, 46.3%)
CIE-LABlab(50.29, -2.46, 44.58)
CIE-LCHlch(50.29, 44.65, 93.16°)
OKLaboklab(57.06% -0.0109 0.0997)
OKLCHoklch(57.06% 0.1 96.3)
XYZxyz(17.2804, 18.6594, 4.6105)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897727 #273989
analogous
#894627 #897727 #6A8927
triadic
#897727 #278977 #772789
tetradic
#897727 #278946 #273989 #89276A
square
#897727 #278946 #273989 #89276A
split-complementary
#897727 #276A89 #462789
monochromatic
#2A240C #594E19 #897727 #B9A035 #D0BA5A

Accessibility & contrast

On white

4.44
#897727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#897727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897727
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897727#FFFFFF#000000##000000
##8977271.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#946E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #897727;
/* rgb */ color: rgb(137, 119, 39);
/* oklch */ color: oklch(57.1% 0.100 96.3);
Tailwind
colors: {
  custom: {
    50: '#af9d66',
    500: '#897727',
    950: '#000000',
  },
}
SCSS
$custom: #897727;
$custom-light: #af9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#897727",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 48.98,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57063,
    "c": 0.10031,
    "h": 96.3
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#897727
secondary
#5768B5
accent
#64DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897727

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

Preview Lab → · Contrast checker → · Palette generator →

#897727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva