#897916#897916

#897916 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.112 H 99.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#897916
RGBrgb(137, 121, 22)
HSLhsl(52, 72%, 31%)
HSVhsv(52, 84%, 54%)
CMYKcmyk(0%, 11.7%, 83.9%, 46.3%)
CIE-LABlab(50.75, -4.35, 51.34)
CIE-LCHlch(50.75, 51.52, 94.84°)
OKLaboklab(57.4% -0.0181 0.1106)
OKLCHoklch(57.4% 0.112 99.3)
XYZxyz(17.2996, 19.0519, 3.5251)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897916 #162689
analogous
#893F16 #897916 #5F8916
triadic
#897916 #168979 #791689
tetradic
#897916 #16893F #162689 #89165F
square
#897916 #16893F #162689 #89165F
split-complementary
#897916 #165F89 #3F1689
monochromatic
#201C05 #544A0E #897916 #BEA81E #DFC83A

Accessibility & contrast

On white

4.37
#897916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#897916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897916
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897916#FFFFFF#000000##000000
##8979161.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#946F67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #897916;
/* rgb */ color: rgb(137, 121, 22);
/* oklch */ color: oklch(57.4% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#af9f5e',
    500: '#897916',
    950: '#000000',
  },
}
SCSS
$custom: #897916;
$custom-light: #af9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#897916",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 51.652,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.11209,
    "h": 99.3
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#897916
secondary
#3E50BD
accent
#52EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #897916

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

Preview Lab → · Contrast checker → · Palette generator →

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