#818331#818331

#818331 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.1% C 0.104 H 110.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#818331
RGBrgb(129, 131, 49)
HSLhsl(61, 46%, 35%)
HSVhsv(61, 63%, 51%)
CMYKcmyk(1.5%, 0%, 62.6%, 48.6%)
CIE-LABlab(53.08, -12.11, 42.80)
CIE-LCHlch(53.08, 44.48, 105.80°)
OKLaboklab(59.14% -0.0366 0.0979)
OKLCHoklch(59.14% 0.104 110.5)
XYZxyz(17.7244, 21.1219, 6.0484)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818331 #333183
analogous
#835C31 #818331 #588331
triadic
#818331 #318183 #833181
tetradic
#818331 #31835C #333183 #833158
square
#818331 #31835C #333183 #833158
split-complementary
#818331 #315883 #5C3183
monochromatic
#292A10 #555620 #818331 #ADB042 #C4C668

Accessibility & contrast

On white

4.02
#818331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#818331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818331
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818331#FFFFFF#000000##000000
##8183311.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D27
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#8A7B72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #818331;
/* rgb */ color: rgb(129, 131, 49);
/* oklch */ color: oklch(59.1% 0.104 110.5);
Tailwind
colors: {
  custom: {
    50: '#a8a66d',
    500: '#818331',
    950: '#000000',
  },
}
SCSS
$custom: #818331;
$custom-light: #a8a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#818331",
  "rgb": {
    "r": 129,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 61.463,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.10448,
    "h": 110.5
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#818331
secondary
#6462AE
accent
#53D556
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #818331

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

Preview Lab → · Contrast checker → · Palette generator →

#818331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva