#897018#897018

#897018 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.4% C 0.105 H 91.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#897018
RGBrgb(137, 112, 24)
HSLhsl(47, 70%, 32%)
HSVhsv(47, 82%, 54%)
CMYKcmyk(0%, 18.2%, 82.5%, 46.3%)
CIE-LABlab(48.23, 0.82, 48.49)
CIE-LCHlch(48.23, 48.49, 89.03°)
OKLaboklab(55.4% -0.0032 0.1049)
OKLCHoklch(55.4% 0.105 91.8)
XYZxyz(16.2765, 16.9737, 3.2829)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897018 #183189
analogous
#893818 #897018 #6A8918
triadic
#897018 #188970 #701889
tetradic
#897018 #188938 #183189 #89186A
square
#897018 #188938 #183189 #89186A
split-complementary
#897018 #186A89 #381889
monochromatic
#211B06 #55450F #897018 #BD9B21 #DDBA3E

Accessibility & contrast

On white

4.78
#897018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#897018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897018
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897018#FFFFFF#000000##FFFFFF
##8970181.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#84751E
Tritanopia (blue-blind)
#956660
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #897018;
/* rgb */ color: rgb(137, 112, 24);
/* oklch */ color: oklch(55.4% 0.105 91.8);
Tailwind
colors: {
  custom: {
    50: '#af985e',
    500: '#897018',
    950: '#000000',
  },
}
SCSS
$custom: #897018;
$custom-light: #af985e;
$custom-dark: #000000;
JSON
{
  "hex": "#897018",
  "rgb": {
    "r": 137,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 46.726,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.10494,
    "h": 91.8
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#897018
secondary
#405CBD
accent
#62ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #897018

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

Preview Lab → · Contrast checker → · Palette generator →

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