#897516#897516

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

Color values

HEX#897516
RGBrgb(137, 117, 22)
HSLhsl(50, 72%, 31%)
HSVhsv(50, 84%, 54%)
CMYKcmyk(0%, 14.6%, 83.9%, 46.3%)
CIE-LABlab(49.62, -2.10, 50.36)
CIE-LCHlch(49.62, 50.40, 92.38°)
OKLaboklab(56.5% -0.0117 0.1085)
OKLCHoklch(56.5% 0.109 96.2)
XYZxyz(16.8236, 18.0998, 3.3664)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897516 #162A89
analogous
#893B16 #897516 #638916
triadic
#897516 #168975 #751689
tetradic
#897516 #16893B #162A89 #891663
square
#897516 #16893B #162A89 #891663
split-complementary
#897516 #166389 #3B1689
monochromatic
#201B05 #54480E #897516 #BEA21E #DFC33A

Accessibility & contrast

On white

4.55
#897516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##897516#FFFFFF#000000##000000
##8975161.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #897516;
/* rgb */ color: rgb(137, 117, 22);
/* oklch */ color: oklch(56.5% 0.109 96.2);
Tailwind
colors: {
  custom: {
    50: '#af9c5d',
    500: '#897516',
    950: '#000000',
  },
}
SCSS
$custom: #897516;
$custom-light: #af9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#897516",
  "rgb": {
    "r": 137,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 49.565,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56499,
    "c": 0.10914,
    "h": 96.2
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#897516
secondary
#3E54BD
accent
#58EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897516

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

Preview Lab → · Contrast checker → · Palette generator →

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