#897718#897718

#897718 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.110 H 97.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#897718
RGBrgb(137, 119, 24)
HSLhsl(50, 70%, 32%)
HSVhsv(50, 82%, 54%)
CMYKcmyk(0%, 13.1%, 82.5%, 46.3%)
CIE-LABlab(50.19, -3.16, 50.23)
CIE-LCHlch(50.19, 50.33, 93.60°)
OKLaboklab(56.96% -0.0145 0.1087)
OKLCHoklch(56.96% 0.11 97.6)
XYZxyz(17.0791, 18.5789, 3.5505)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897718 #182A89
analogous
#893E18 #897718 #638918
triadic
#897718 #188977 #771889
tetradic
#897718 #18893E #182A89 #891863
square
#897718 #18893E #182A89 #891863
split-complementary
#897718 #186389 #3E1889
monochromatic
#211D06 #554A0F #897718 #BDA421 #DDC43E

Accessibility & contrast

On white

4.45
#897718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#897718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897718
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897718#FFFFFF#000000##000000
##8977181.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#946D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #897718;
/* rgb */ color: rgb(137, 119, 24);
/* oklch */ color: oklch(57.0% 0.110 97.6);
Tailwind
colors: {
  custom: {
    50: '#af9d5f',
    500: '#897718',
    950: '#000000',
  },
}
SCSS
$custom: #897718;
$custom-light: #af9d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#897718",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 50.442,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.10962,
    "h": 97.6
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#897718
secondary
#4054BD
accent
#57ED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897718

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

Preview Lab → · Contrast checker → · Palette generator →

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