#897218#897218

#897218 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.8% C 0.106 H 93.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#897218
RGBrgb(137, 114, 24)
HSLhsl(48, 70%, 32%)
HSVhsv(48, 82%, 54%)
CMYKcmyk(0%, 16.8%, 82.5%, 46.3%)
CIE-LABlab(48.78, -0.32, 48.98)
CIE-LCHlch(48.78, 48.98, 90.38°)
OKLaboklab(55.85% -0.0065 0.106)
OKLCHoklch(55.85% 0.106 93.5)
XYZxyz(16.4997, 17.4199, 3.3573)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897218 #182F89
analogous
#893A18 #897218 #688918
triadic
#897218 #188972 #721889
tetradic
#897218 #18893A #182F89 #891868
square
#897218 #18893A #182F89 #891868
split-complementary
#897218 #186889 #3A1889
monochromatic
#211B06 #55470F #897218 #BD9D21 #DDBD3E

Accessibility & contrast

On white

4.68
#897218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#897218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897218
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897218#FFFFFF#000000##FFFFFF
##8972181.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#956861
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #897218;
/* rgb */ color: rgb(137, 114, 24);
/* oklch */ color: oklch(55.8% 0.106 93.5);
Tailwind
colors: {
  custom: {
    50: '#af9a5e',
    500: '#897218',
    950: '#000000',
  },
}
SCSS
$custom: #897218;
$custom-light: #af9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#897218",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 47.788,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.10616,
    "h": 93.5
  },
  "luminance": 0.17419
}

Semantic roles & 50–950 ramp

primary
#897218
secondary
#405ABD
accent
#5FED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897218

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

Preview Lab → · Contrast checker → · Palette generator →

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