#818252#818252

#818252 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.067 H 109.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#818252
RGBrgb(129, 130, 82)
HSLhsl(61, 23%, 42%)
HSVhsv(61, 37%, 51%)
CMYKcmyk(0.8%, 0%, 36.9%, 49%)
CIE-LABlab(53.21, -8.26, 25.89)
CIE-LCHlch(53.21, 27.18, 107.69°)
OKLaboklab(59.38% -0.0223 0.0637)
OKLCHoklch(59.38% 0.067 109.3)
XYZxyz(18.5591, 21.2419, 11.1034)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818252 #535282
analogous
#826B52 #818252 #698252
triadic
#818252 #528182 #825281
tetradic
#818252 #52826B #535282 #825269
square
#818252 #52826B #535282 #825269
split-complementary
#818252 #526982 #6B5282
monochromatic
#373723 #5C5C3A #818252 #A2A36E #BABB93

Accessibility & contrast

On white

4.00
#818252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#818252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818252
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818252#FFFFFF#000000##000000
##8182521.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#877C76
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #818252;
/* rgb */ color: rgb(129, 130, 82);
/* oklch */ color: oklch(59.4% 0.067 109.3);
Tailwind
colors: {
  custom: {
    50: '#a6a683',
    500: '#818252',
    950: '#000000',
  },
}
SCSS
$custom: #818252;
$custom-light: #a6a683;
$custom-dark: #000000;
JSON
{
  "hex": "#818252",
  "rgb": {
    "r": 129,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 61.25,
    "s": 22.642,
    "l": 41.569
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.06747,
    "h": 109.3
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#818252
secondary
#8888A8
accent
#69BF6A
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #818252

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

Preview Lab → · Contrast checker → · Palette generator →

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