#897518#897518

#897518 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.5% C 0.108 H 96.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#897518
RGBrgb(137, 117, 24)
HSLhsl(49, 70%, 32%)
HSVhsv(49, 82%, 54%)
CMYKcmyk(0%, 14.6%, 82.5%, 46.3%)
CIE-LABlab(49.63, -2.03, 49.73)
CIE-LCHlch(49.63, 49.77, 92.33°)
OKLaboklab(56.51% -0.0113 0.1076)
OKLCHoklch(56.51% 0.108 96)
XYZxyz(16.8436, 18.1078, 3.4720)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897518 #182C89
analogous
#893D18 #897518 #658918
triadic
#897518 #188975 #751889
tetradic
#897518 #18893D #182C89 #891865
square
#897518 #18893D #182C89 #891865
split-complementary
#897518 #186589 #3D1889
monochromatic
#211C06 #55490F #897518 #BDA121 #DDC13E

Accessibility & contrast

On white

4.54
#897518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#897518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897518
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897518#FFFFFF#000000##000000
##8975181.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#87791F
Tritanopia (blue-blind)
#956B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #897518;
/* rgb */ color: rgb(137, 117, 24);
/* oklch */ color: oklch(56.5% 0.108 96.0);
Tailwind
colors: {
  custom: {
    50: '#af9c5e',
    500: '#897518',
    950: '#000000',
  },
}
SCSS
$custom: #897518;
$custom-light: #af9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#897518",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 49.381,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.10817,
    "h": 96
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#897518
secondary
#4056BD
accent
#5AED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897518

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

Preview Lab → · Contrast checker → · Palette generator →

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