#81831A#81831A

#81831A is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.120 H 110.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#81831A
RGBrgb(129, 131, 26)
HSLhsl(61, 67%, 31%)
HSVhsv(61, 80%, 51%)
CMYKcmyk(1.5%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.92, -13.41, 51.73)
CIE-LCHlch(52.92, 53.44, 104.53°)
OKLaboklab(58.96% -0.0426 0.1127)
OKLCHoklch(58.96% 0.12 110.7)
XYZxyz(17.3566, 20.9748, 4.1113)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81831A #1C1A83
analogous
#83501A #81831A #4C831A
triadic
#81831A #1A8183 #831A81
tetradic
#81831A #1A8350 #1C1A83 #831A4C
square
#81831A #1A8350 #1C1A83 #831A4C
split-complementary
#81831A #1A4C83 #501A83
monochromatic
#1C1D06 #4F5010 #81831A #B3B624 #D6D93F

Accessibility & contrast

On white

4.04
#81831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#81831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81831A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81831A#FFFFFF#000000##000000
##81831A1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#8B7A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #81831a;
/* rgb */ color: rgb(129, 131, 26);
/* oklch */ color: oklch(59.0% 0.120 110.7);
Tailwind
colors: {
  custom: {
    50: '#a9a661',
    500: '#81831a',
    950: '#000000',
  },
}
SCSS
$custom: #81831a;
$custom-light: #a9a661;
$custom-dark: #000000;
JSON
{
  "hex": "#81831a",
  "rgb": {
    "r": 129,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 61.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.12047,
    "h": 110.7
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#81831A
secondary
#4442B7
accent
#3EEA41
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81831A

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

Preview Lab → · Contrast checker → · Palette generator →

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