#897118#897118

#897118 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.6% C 0.106 H 92.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#897118
RGBrgb(137, 113, 24)
HSLhsl(47, 70%, 32%)
HSVhsv(47, 82%, 54%)
CMYKcmyk(0%, 17.5%, 82.5%, 46.3%)
CIE-LABlab(48.51, 0.25, 48.73)
CIE-LCHlch(48.51, 48.74, 89.71°)
OKLaboklab(55.62% -0.0049 0.1054)
OKLCHoklch(55.62% 0.106 92.7)
XYZxyz(16.3875, 17.1956, 3.3199)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897118 #183089
analogous
#893918 #897118 #698918
triadic
#897118 #188971 #711889
tetradic
#897118 #188939 #183089 #891869
square
#897118 #188939 #183089 #891869
split-complementary
#897118 #186989 #391889
monochromatic
#211B06 #55460F #897118 #BD9C21 #DDBB3E

Accessibility & contrast

On white

4.73
#897118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#897118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #897118
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897118#FFFFFF#000000##FFFFFF
##8971181.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#956760
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #897118;
/* rgb */ color: rgb(137, 113, 24);
/* oklch */ color: oklch(55.6% 0.106 92.7);
Tailwind
colors: {
  custom: {
    50: '#af995e',
    500: '#897118',
    950: '#000000',
  },
}
SCSS
$custom: #897118;
$custom-light: #af995e;
$custom-dark: #000000;
JSON
{
  "hex": "#897118",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 47.257,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.10553,
    "h": 92.7
  },
  "luminance": 0.17195
}

Semantic roles & 50–950 ramp

primary
#897118
secondary
#405BBD
accent
#61ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #897118

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

Preview Lab → · Contrast checker → · Palette generator →

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