#897416#897416

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

Color values

HEX#897416
RGBrgb(137, 116, 22)
HSLhsl(49, 72%, 31%)
HSVhsv(49, 84%, 54%)
CMYKcmyk(0%, 15.3%, 83.9%, 46.3%)
CIE-LABlab(49.34, -1.53, 50.12)
CIE-LCHlch(49.34, 50.14, 91.75°)
OKLaboklab(56.28% -0.0101 0.108)
OKLCHoklch(56.28% 0.108 95.3)
XYZxyz(16.7077, 17.8680, 3.3278)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897416 #162B89
analogous
#893A16 #897416 #648916
triadic
#897416 #168974 #741689
tetradic
#897416 #16893A #162B89 #891664
square
#897416 #16893A #162B89 #891664
split-complementary
#897416 #166489 #3A1689
monochromatic
#201B05 #54470E #897416 #BEA11E #DFC13A

Accessibility & contrast

On white

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

On black

4.57
#897416 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##897416#FFFFFF#000000##FFFFFF
##8974161.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#87781D
Tritanopia (blue-blind)
#956A63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #897416;
/* rgb */ color: rgb(137, 116, 22);
/* oklch */ color: oklch(56.3% 0.108 95.3);
Tailwind
colors: {
  custom: {
    50: '#af9b5d',
    500: '#897416',
    950: '#000000',
  },
}
SCSS
$custom: #897416;
$custom-light: #af9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#897416",
  "rgb": {
    "r": 137,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 49.043,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.10845,
    "h": 95.3
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#897416
secondary
#3E55BD
accent
#5AEF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897416

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

Preview Lab → · Contrast checker → · Palette generator →

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