#897318#897318

#897318 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.1% C 0.107 H 94.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#897318
RGBrgb(137, 115, 24)
HSLhsl(48, 70%, 32%)
HSVhsv(48, 82%, 54%)
CMYKcmyk(0%, 16.1%, 82.5%, 46.3%)
CIE-LABlab(49.06, -0.89, 49.23)
CIE-LCHlch(49.06, 49.24, 91.04°)
OKLaboklab(56.07% -0.0081 0.1065)
OKLCHoklch(56.07% 0.107 94.4)
XYZxyz(16.6131, 17.6468, 3.3951)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897318 #182E89
analogous
#893B18 #897318 #678918
triadic
#897318 #188973 #731889
tetradic
#897318 #18893B #182E89 #891867
square
#897318 #18893B #182E89 #891867
split-complementary
#897318 #186789 #3B1889
monochromatic
#211C06 #55470F #897318 #BD9F21 #DDBE3E

Accessibility & contrast

On white

4.64
#897318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#897318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #897318
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897318#FFFFFF#000000##FFFFFF
##8973181.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807101
Deuteranopia (green-blind)
#86771E
Tritanopia (blue-blind)
#956962
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897318;
/* rgb */ color: rgb(137, 115, 24);
/* oklch */ color: oklch(56.1% 0.107 94.4);
Tailwind
colors: {
  custom: {
    50: '#af9a5e',
    500: '#897318',
    950: '#000000',
  },
}
SCSS
$custom: #897318;
$custom-light: #af9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#897318",
  "rgb": {
    "r": 137,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 48.319,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56066,
    "c": 0.10681,
    "h": 94.4
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#897318
secondary
#4058BD
accent
#5EED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897318

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

Preview Lab → · Contrast checker → · Palette generator →

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