#81931B#81931B

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

Color values

HEX#81931B
RGBrgb(129, 147, 27)
HSLhsl(69, 69%, 34%)
HSVhsv(69, 82%, 58%)
CMYKcmyk(12.2%, 0%, 81.6%, 42.4%)
CIE-LABlab(57.67, -21.71, 55.67)
CIE-LCHlch(57.67, 59.75, 111.31°)
OKLaboklab(62.77% -0.0655 0.1213)
OKLCHoklch(62.77% 0.138 118.4)
XYZxyz(19.6853, 25.6139, 4.9436)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81931B #2D1B93
analogous
#93691B #81931B #45931B
triadic
#81931B #1B8193 #931B81
tetradic
#81931B #1B9369 #2D1B93 #931B45
square
#81931B #1B9369 #2D1B93 #931B45
split-complementary
#81931B #1B4593 #691B93
monochromatic
#262C08 #545F12 #81931B #AEC724 #C8DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81931B#FFFFFF#000000##000000
##81931B1.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: #81931b;
/* rgb */ color: rgb(129, 147, 27);
/* oklch */ color: oklch(62.8% 0.138 118.4);
Tailwind
colors: {
  custom: {
    50: '#a9b264',
    500: '#81931b',
    950: '#000000',
  },
}
SCSS
$custom: #81931b;
$custom-light: #a9b264;
$custom-dark: #000000;
JSON
{
  "hex": "#81931b",
  "rgb": {
    "r": 129,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 69,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.1378,
    "h": 118.4
  },
  "luminance": 0.25614
}

Semantic roles & 50–950 ramp

primary
#81931B
secondary
#5C4AC0
accent
#3CEC56
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #81931B

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

Preview Lab → · Contrast checker → · Palette generator →

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