#897418#897418

#897418 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.3% C 0.107 H 95.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#897418
RGBrgb(137, 116, 24)
HSLhsl(49, 70%, 32%)
HSVhsv(49, 82%, 54%)
CMYKcmyk(0%, 15.3%, 82.5%, 46.3%)
CIE-LABlab(49.35, -1.46, 49.48)
CIE-LCHlch(49.35, 49.50, 91.69°)
OKLaboklab(56.29% -0.0097 0.107)
OKLCHoklch(56.29% 0.107 95.2)
XYZxyz(16.7277, 17.8761, 3.4333)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897418 #182D89
analogous
#893C18 #897418 #668918
triadic
#897418 #188974 #741889
tetradic
#897418 #18893C #182D89 #891866
square
#897418 #18893C #182D89 #891866
split-complementary
#897418 #186689 #3C1889
monochromatic
#211C06 #55480F #897418 #BDA021 #DDC03E

Accessibility & contrast

On white

4.59
#897418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#897418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #897418
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897418#FFFFFF#000000##FFFFFF
##8974181.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817201
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#956A63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897418;
/* rgb */ color: rgb(137, 116, 24);
/* oklch */ color: oklch(56.3% 0.107 95.2);
Tailwind
colors: {
  custom: {
    50: '#af9b5e',
    500: '#897418',
    950: '#000000',
  },
}
SCSS
$custom: #897418;
$custom-light: #af9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#897418",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 48.85,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.10747,
    "h": 95.2
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#897418
secondary
#4057BD
accent
#5CED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897418

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

Preview Lab → · Contrast checker → · Palette generator →

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