#81931D#81931D

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

Color values

HEX#81931D
RGBrgb(129, 147, 29)
HSLhsl(69, 67%, 35%)
HSVhsv(69, 80%, 58%)
CMYKcmyk(12.2%, 0%, 80.3%, 42.4%)
CIE-LABlab(57.68, -21.63, 55.08)
CIE-LCHlch(57.68, 59.17, 111.44°)
OKLaboklab(62.78% -0.0651 0.1204)
OKLCHoklch(62.78% 0.137 118.4)
XYZxyz(19.7092, 25.6234, 5.0697)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81931D #2F1D93
analogous
#936A1D #81931D #46931D
triadic
#81931D #1D8193 #931D81
tetradic
#81931D #1D936A #2F1D93 #931D46
square
#81931D #1D936A #2F1D93 #931D46
split-complementary
#81931D #1D4693 #6A1D93
monochromatic
#272D09 #546013 #81931D #AEC627 #C6DC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81931D#FFFFFF#000000##000000
##81931D1.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)
#9B8B29
Tritanopia (blue-blind)
#898B7D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #81931d;
/* rgb */ color: rgb(129, 147, 29);
/* oklch */ color: oklch(62.8% 0.137 118.4);
Tailwind
colors: {
  custom: {
    50: '#a9b264',
    500: '#81931d',
    950: '#000000',
  },
}
SCSS
$custom: #81931d;
$custom-light: #a9b264;
$custom-dark: #000000;
JSON
{
  "hex": "#81931d",
  "rgb": {
    "r": 129,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 69.153,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62777,
    "c": 0.13684,
    "h": 118.4
  },
  "luminance": 0.25623
}

Semantic roles & 50–950 ramp

primary
#81931D
secondary
#5E4DBF
accent
#3EEA58
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #81931D

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

Preview Lab → · Contrast checker → · Palette generator →

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