#897C18#897C18

#897C18 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.114 H 101.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#897C18
RGBrgb(137, 124, 24)
HSLhsl(53, 70%, 32%)
HSVhsv(53, 82%, 54%)
CMYKcmyk(0%, 9.5%, 82.5%, 46.3%)
CIE-LABlab(51.61, -5.95, 51.48)
CIE-LCHlch(51.61, 51.82, 96.60°)
OKLaboklab(58.08% -0.0224 0.1113)
OKLCHoklch(58.08% 0.114 101.4)
XYZxyz(17.6899, 19.8005, 3.7541)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897C18 #182589
analogous
#894418 #897C18 #5E8918
triadic
#897C18 #18897C #7C1889
tetradic
#897C18 #188944 #182589 #89185E
square
#897C18 #188944 #182589 #89185E
split-complementary
#897C18 #185E89 #441889
monochromatic
#211E06 #554D0F #897C18 #BDAB21 #DDCB3E

Accessibility & contrast

On white

4.23
#897C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#897C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897C18
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897C18#FFFFFF#000000##000000
##897C181.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8C7D20
Tritanopia (blue-blind)
#94726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #897c18;
/* rgb */ color: rgb(137, 124, 24);
/* oklch */ color: oklch(58.1% 0.114 101.4);
Tailwind
colors: {
  custom: {
    50: '#afa15f',
    500: '#897c18',
    950: '#000000',
  },
}
SCSS
$custom: #897c18;
$custom-light: #afa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#897c18",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 53.097,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58083,
    "c": 0.11357,
    "h": 101.4
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#897C18
secondary
#404FBD
accent
#4FED3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897C18

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

Preview Lab → · Contrast checker → · Palette generator →

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