#81851B#81851B

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

Color values

HEX#81851B
RGBrgb(129, 133, 27)
HSLhsl(62, 66%, 31%)
HSVhsv(62, 80%, 52%)
CMYKcmyk(3%, 0%, 79.7%, 47.8%)
CIE-LABlab(53.52, -14.44, 51.95)
CIE-LCHlch(53.52, 53.92, 105.53°)
OKLaboklab(59.43% -0.0454 0.1133)
OKLCHoklch(59.43% 0.122 111.8)
XYZxyz(17.6392, 21.5218, 4.2616)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81851B #1F1B85
analogous
#85541B #81851B #4C851B
triadic
#81851B #1B8185 #851B81
tetradic
#81851B #1B8554 #1F1B85 #851B4C
square
#81851B #1B8554 #1F1B85 #851B4C
split-complementary
#81851B #1B4C85 #541B85
monochromatic
#1E1F06 #505211 #81851B #B2B825 #D3D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81851B#FFFFFF#000000##000000
##81851B1.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)
#908125
Tritanopia (blue-blind)
#8A7C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #81851b;
/* rgb */ color: rgb(129, 133, 27);
/* oklch */ color: oklch(59.4% 0.122 111.8);
Tailwind
colors: {
  custom: {
    50: '#a9a862',
    500: '#81851b',
    950: '#000000',
  },
}
SCSS
$custom: #81851b;
$custom-light: #a9a862;
$custom-dark: #000000;
JSON
{
  "hex": "#81851b",
  "rgb": {
    "r": 129,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 62.264,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.12208,
    "h": 111.8
  },
  "luminance": 0.21521
}

Semantic roles & 50–950 ramp

primary
#81851B
secondary
#4844B8
accent
#3FE945
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81851B

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

Preview Lab → · Contrast checker → · Palette generator →

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