#897927#897927

#897927 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.102 H 98.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#897927
RGBrgb(137, 121, 39)
HSLhsl(50, 56%, 35%)
HSVhsv(50, 72%, 54%)
CMYKcmyk(0%, 11.7%, 71.5%, 46.3%)
CIE-LABlab(50.85, -3.59, 45.15)
CIE-LCHlch(50.85, 45.29, 94.55°)
OKLaboklab(57.51% -0.0141 0.1009)
OKLCHoklch(57.51% 0.102 98)
XYZxyz(17.5209, 19.1405, 4.6907)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897927 #273789
analogous
#894827 #897927 #688927
triadic
#897927 #278979 #792789
tetradic
#897927 #278948 #273789 #892768
square
#897927 #278948 #273789 #892768
split-complementary
#897927 #276889 #482789
monochromatic
#2A250C #594F19 #897927 #B9A335 #D0BD5A

Accessibility & contrast

On white

4.35
#897927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#897927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897927
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897927#FFFFFF#000000##000000
##8979271.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761B
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #897927;
/* rgb */ color: rgb(137, 121, 39);
/* oklch */ color: oklch(57.5% 0.102 98.0);
Tailwind
colors: {
  custom: {
    50: '#af9f66',
    500: '#897927',
    950: '#000000',
  },
}
SCSS
$custom: #897927;
$custom-light: #af9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#897927",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 50.204,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.10191,
    "h": 98
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#897927
secondary
#5766B5
accent
#61DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #897927

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

Preview Lab → · Contrast checker → · Palette generator →

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