#81851A#81851A

#81851A is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.123 H 111.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#81851A
RGBrgb(129, 133, 26)
HSLhsl(62, 67%, 31%)
HSVhsv(62, 80%, 52%)
CMYKcmyk(3%, 0%, 80.5%, 47.8%)
CIE-LABlab(53.51, -14.48, 52.26)
CIE-LCHlch(53.51, 54.23, 105.48°)
OKLaboklab(59.43% -0.0456 0.1138)
OKLCHoklch(59.43% 0.123 111.8)
XYZxyz(17.6279, 21.5172, 4.2017)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81851A #1E1A85
analogous
#85531A #81851A #4B851A
triadic
#81851A #1A8185 #851A81
tetradic
#81851A #1A8553 #1E1A85 #851A4B
square
#81851A #1A8553 #1E1A85 #851A4B
split-complementary
#81851A #1A4B85 #531A85
monochromatic
#1E1F06 #4F5210 #81851A #B3B824 #D4DA40

Accessibility & contrast

On white

3.96
#81851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#81851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81851A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81851A#FFFFFF#000000##000000
##81851A1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#8A7C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #81851a;
/* rgb */ color: rgb(129, 133, 26);
/* oklch */ color: oklch(59.4% 0.123 111.8);
Tailwind
colors: {
  custom: {
    50: '#a9a861',
    500: '#81851a',
    950: '#000000',
  },
}
SCSS
$custom: #81851a;
$custom-light: #a9a861;
$custom-dark: #000000;
JSON
{
  "hex": "#81851a",
  "rgb": {
    "r": 129,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 62.243,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59427,
    "c": 0.1226,
    "h": 111.8
  },
  "luminance": 0.21517
}

Semantic roles & 50–950 ramp

primary
#81851A
secondary
#4742B8
accent
#3EEA44
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81851A

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

Preview Lab → · Contrast checker → · Palette generator →

#81851A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva