#896D18#896D18

#896D18 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.7% C 0.103 H 89.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#896D18
RGBrgb(137, 109, 24)
HSLhsl(45, 70%, 32%)
HSVhsv(45, 82%, 54%)
CMYKcmyk(0%, 20.4%, 82.5%, 46.3%)
CIE-LABlab(47.40, 2.54, 47.75)
CIE-LCHlch(47.40, 47.81, 86.95°)
OKLaboklab(54.75% 0.0017 0.1033)
OKLCHoklch(54.75% 0.103 89.1)
XYZxyz(15.9510, 16.3227, 3.1744)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896D18 #183489
analogous
#893518 #896D18 #6D8918
triadic
#896D18 #18896D #6D1889
tetradic
#896D18 #188935 #183489 #89186D
square
#896D18 #188935 #183489 #89186D
split-complementary
#896D18 #186D89 #351889
monochromatic
#211A06 #55440F #896D18 #BD9621 #DDB63E

Accessibility & contrast

On white

4.92
#896D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#896D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #896D18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896D18#FFFFFF#000000##FFFFFF
##896D181.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#95635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #896d18;
/* rgb */ color: rgb(137, 109, 24);
/* oklch */ color: oklch(54.7% 0.103 89.1);
Tailwind
colors: {
  custom: {
    50: '#b0965d',
    500: '#896d18',
    950: '#000000',
  },
}
SCSS
$custom: #896d18;
$custom-light: #b0965d;
$custom-dark: #000000;
JSON
{
  "hex": "#896d18",
  "rgb": {
    "r": 137,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 45.133,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.1033,
    "h": 89.1
  },
  "luminance": 0.16322
}

Semantic roles & 50–950 ramp

primary
#896D18
secondary
#405FBD
accent
#67ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #896D18

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

Preview Lab → · Contrast checker → · Palette generator →

#896D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva