#897A16#897A16

#897A16 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.113 H 100.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#897A16
RGBrgb(137, 122, 22)
HSLhsl(52, 72%, 31%)
HSVhsv(52, 84%, 54%)
CMYKcmyk(0%, 10.9%, 83.9%, 46.3%)
CIE-LABlab(51.03, -4.91, 51.58)
CIE-LCHlch(51.03, 51.82, 95.43°)
OKLaboklab(57.62% -0.0196 0.1112)
OKLCHoklch(57.62% 0.113 100)
XYZxyz(17.4218, 19.2962, 3.5658)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897A16 #162589
analogous
#894016 #897A16 #5E8916
triadic
#897A16 #16897A #7A1689
tetradic
#897A16 #168940 #162589 #89165E
square
#897A16 #168940 #162589 #89165E
split-complementary
#897A16 #165E89 #401689
monochromatic
#201C05 #544B0E #897A16 #BEA91E #DFCA3A

Accessibility & contrast

On white

4.32
#897A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#897A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897A16
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897A16#FFFFFF#000000##000000
##897A161.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#947068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #897a16;
/* rgb */ color: rgb(137, 122, 22);
/* oklch */ color: oklch(57.6% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#afa05e',
    500: '#897a16',
    950: '#000000',
  },
}
SCSS
$custom: #897a16;
$custom-light: #afa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#897a16",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 52.174,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.11288,
    "h": 100
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#897A16
secondary
#3E4EBD
accent
#51EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #897A16

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

Preview Lab → · Contrast checker → · Palette generator →

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