#81891B#81891B

#81891B 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#81891B
RGBrgb(129, 137, 27)
HSLhsl(64, 67%, 32%)
HSVhsv(64, 80%, 54%)
CMYKcmyk(5.8%, 0%, 80.3%, 46.3%)
CIE-LABlab(54.70, -16.55, 53.01)
CIE-LCHlch(54.70, 55.54, 107.34°)
OKLaboklab(60.38% -0.0513 0.1156)
OKLCHoklch(60.38% 0.126 113.9)
XYZxyz(18.1973, 22.6380, 4.4477)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81891B #231B89
analogous
#895A1B #81891B #4A891B
triadic
#81891B #1B8189 #891B81
tetradic
#81891B #1B895A #231B89 #891B4A
square
#81891B #1B895A #231B89 #891B4A
split-complementary
#81891B #1B4A89 #5A1B89
monochromatic
#212307 #515611 #81891B #B1BC25 #CFDA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81891B#FFFFFF#000000##000000
##81891B1.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)
#938425
Tritanopia (blue-blind)
#8A8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #81891b;
/* rgb */ color: rgb(129, 137, 27);
/* oklch */ color: oklch(60.4% 0.126 113.9);
Tailwind
colors: {
  custom: {
    50: '#a9ab62',
    500: '#81891b',
    950: '#000000',
  },
}
SCSS
$custom: #81891b;
$custom-light: #a9ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#81891b",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 64.364,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6038,
    "c": 0.12645,
    "h": 113.9
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#81891B
secondary
#4D44BC
accent
#3EEA4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #81891B

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

Preview Lab → · Contrast checker → · Palette generator →

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