#897F16#897F16

#897F16 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.117 H 103.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#897F16
RGBrgb(137, 127, 22)
HSLhsl(55, 72%, 31%)
HSVhsv(55, 84%, 54%)
CMYKcmyk(0%, 7.3%, 83.9%, 46.3%)
CIE-LABlab(52.46, -7.68, 52.81)
CIE-LCHlch(52.46, 53.37, 98.27°)
OKLaboklab(58.76% -0.0274 0.1138)
OKLCHoklch(58.76% 0.117 103.5)
XYZxyz(18.0516, 20.5558, 3.7757)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897F16 #162089
analogous
#894516 #897F16 #598916
triadic
#897F16 #16897F #7F1689
tetradic
#897F16 #168945 #162089 #891659
square
#897F16 #168945 #162089 #891659
split-complementary
#897F16 #165989 #451689
monochromatic
#201D05 #544E0E #897F16 #BEB01E #DFD13A

Accessibility & contrast

On white

4.11
#897F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#897F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897F16
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897F16#FFFFFF#000000##000000
##897F161.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8F7F1F
Tritanopia (blue-blind)
#94756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #897f16;
/* rgb */ color: rgb(137, 127, 22);
/* oklch */ color: oklch(58.8% 0.117 103.5);
Tailwind
colors: {
  custom: {
    50: '#afa35f',
    500: '#897f16',
    950: '#000000',
  },
}
SCSS
$custom: #897f16;
$custom-light: #afa35f;
$custom-dark: #000000;
JSON
{
  "hex": "#897f16",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 54.783,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.11708,
    "h": 103.5
  },
  "luminance": 0.20555
}

Semantic roles & 50–950 ramp

primary
#897F16
secondary
#3E49BD
accent
#49EF39
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #897F16

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

Preview Lab → · Contrast checker → · Palette generator →

#897F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva