#81931A#81931A

#81931A is a light, vivid yellow. Relative luminance 0.256; OKLCH L 62.8% C 0.138 H 118.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#81931A
RGBrgb(129, 147, 26)
HSLhsl(69, 70%, 34%)
HSVhsv(69, 82%, 58%)
CMYKcmyk(12.2%, 0%, 82.3%, 42.4%)
CIE-LABlab(57.66, -21.75, 55.95)
CIE-LCHlch(57.66, 60.03, 111.24°)
OKLaboklab(62.76% -0.0656 0.1217)
OKLCHoklch(62.76% 0.138 118.3)
XYZxyz(19.6739, 25.6093, 4.8837)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81931A #2C1A93
analogous
#93691A #81931A #45931A
triadic
#81931A #1A8193 #931A81
tetradic
#81931A #1A9369 #2C1A93 #931A45
square
#81931A #1A9369 #2C1A93 #931A45
split-complementary
#81931A #1A4593 #691A93
monochromatic
#262B08 #535F11 #81931A #AFC723 #C8DF49

Accessibility & contrast

On white

3.43
#81931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#81931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81931A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81931A#FFFFFF#000000##000000
##81931A1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#898A7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #81931a;
/* rgb */ color: rgb(129, 147, 26);
/* oklch */ color: oklch(62.8% 0.138 118.3);
Tailwind
colors: {
  custom: {
    50: '#a9b263',
    500: '#81931a',
    950: '#000000',
  },
}
SCSS
$custom: #81931a;
$custom-light: #a9b263;
$custom-dark: #000000;
JSON
{
  "hex": "#81931a",
  "rgb": {
    "r": 129,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 68.926,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62762,
    "c": 0.13826,
    "h": 118.3
  },
  "luminance": 0.25609
}

Semantic roles & 50–950 ramp

primary
#81931A
secondary
#5A48C0
accent
#3BED55
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #81931A

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

Preview Lab → · Contrast checker → · Palette generator →

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