#52811D#52811D

#52811D is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.137 H 131.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#52811D
RGBrgb(82, 129, 29)
HSLhsl(88, 63%, 31%)
HSVhsv(88, 78%, 51%)
CMYKcmyk(36.4%, 0%, 77.5%, 49.4%)
CIE-LABlab(48.99, -32.44, 45.85)
CIE-LCHlch(48.99, 56.17, 125.28°)
OKLaboklab(54.93% -0.0917 0.1022)
OKLCHoklch(54.93% 0.137 131.9)
XYZxyz(11.5516, 17.5826, 3.9473)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52811D #4C1D81
analogous
#817E1D #52811D #20811D
triadic
#52811D #1D5281 #811D52
tetradic
#52811D #1D817E #4C1D81 #811D20
square
#52811D #1D817E #4C1D81 #811D20
split-complementary
#52811D #1D2081 #7E1D81
monochromatic
#121D07 #324F12 #52811D #72B328 #91D544

Accessibility & contrast

On white

4.65
#52811D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#52811D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #52811D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52811D#FFFFFF#000000##FFFFFF
##52811D1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877707
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#537B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52811d;
/* rgb */ color: rgb(82, 129, 29);
/* oklch */ color: oklch(54.9% 0.137 131.9);
Tailwind
colors: {
  custom: {
    50: '#87a661',
    500: '#52811d',
    950: '#000000',
  },
}
SCSS
$custom: #52811d;
$custom-light: #87a661;
$custom-dark: #000000;
JSON
{
  "hex": "#52811d",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 88.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54932,
    "c": 0.13735,
    "h": 131.9
  },
  "luminance": 0.17583
}

Semantic roles & 50–950 ramp

primary
#52811D
secondary
#7A46B4
accent
#41E68F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52811D

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

Preview Lab → · Contrast checker → · Palette generator →

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