#81891F#81891F

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

Color values

HEX#81891F
RGBrgb(129, 137, 31)
HSLhsl(65, 63%, 33%)
HSVhsv(65, 77%, 54%)
CMYKcmyk(5.8%, 0%, 77.4%, 46.3%)
CIE-LABlab(54.72, -16.38, 51.73)
CIE-LCHlch(54.72, 54.26, 107.57°)
OKLaboklab(60.4% -0.0504 0.1136)
OKLCHoklch(60.4% 0.124 113.9)
XYZxyz(18.2468, 22.6577, 4.7082)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81891F #271F89
analogous
#895C1F #81891F #4C891F
triadic
#81891F #1F8189 #891F81
tetradic
#81891F #1F895C #271F89 #891F4C
square
#81891F #1F895C #271F89 #891F4C
split-complementary
#81891F #1F4C89 #5C1F89
monochromatic
#232508 #525714 #81891F #B0BB2A #CCD64C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81891F#FFFFFF#000000##000000
##81891F1.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)
#938205
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#8A8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #81891f;
/* rgb */ color: rgb(129, 137, 31);
/* oklch */ color: oklch(60.4% 0.124 113.9);
Tailwind
colors: {
  custom: {
    50: '#a9ab64',
    500: '#81891f',
    950: '#000000',
  },
}
SCSS
$custom: #81891f;
$custom-light: #a9ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#81891f",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 64.528,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.12431,
    "h": 113.9
  },
  "luminance": 0.22657
}

Semantic roles & 50–950 ramp

primary
#81891F
secondary
#534BB9
accent
#42E64E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #81891F

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

Preview Lab → · Contrast checker → · Palette generator →

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