#81891C#81891C

#81891C is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.126 H 113.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#81891C
RGBrgb(129, 137, 28)
HSLhsl(64, 66%, 32%)
HSVhsv(64, 80%, 54%)
CMYKcmyk(5.8%, 0%, 79.6%, 46.3%)
CIE-LABlab(54.70, -16.51, 52.70)
CIE-LCHlch(54.70, 55.23, 107.40°)
OKLaboklab(60.39% -0.0511 0.1151)
OKLCHoklch(60.39% 0.126 113.9)
XYZxyz(18.2091, 22.6427, 4.5096)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81891C #241C89
analogous
#895B1C #81891C #4A891C
triadic
#81891C #1C8189 #891C81
tetradic
#81891C #1C895B #241C89 #891C4A
square
#81891C #1C895B #241C89 #891C4A
split-complementary
#81891C #1C4A89 #5B1C89
monochromatic
#212307 #515612 #81891C #B1BC26 #CED946

Accessibility & contrast

On white

3.80
#81891C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#81891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81891C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81891C#FFFFFF#000000##000000
##81891C1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#8A8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #81891c;
/* rgb */ color: rgb(129, 137, 28);
/* oklch */ color: oklch(60.4% 0.126 113.9);
Tailwind
colors: {
  custom: {
    50: '#a9ab63',
    500: '#81891c',
    950: '#000000',
  },
}
SCSS
$custom: #81891c;
$custom-light: #a9ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#81891c",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 64.404,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.12594,
    "h": 113.9
  },
  "luminance": 0.22642
}

Semantic roles & 50–950 ramp

primary
#81891C
secondary
#4E46BB
accent
#3FE94B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #81891C

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

Preview Lab → · Contrast checker → · Palette generator →

#81891C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva