#52822D#52822D

#52822D is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.127 H 133.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#52822D
RGBrgb(82, 130, 45)
HSLhsl(94, 49%, 34%)
HSVhsv(94, 65%, 51%)
CMYKcmyk(36.9%, 0%, 65.4%, 49%)
CIE-LABlab(49.43, -31.65, 39.71)
CIE-LCHlch(49.43, 50.78, 128.56°)
OKLaboklab(55.34% -0.0883 0.0917)
OKLCHoklch(55.34% 0.127 133.9)
XYZxyz(11.9357, 17.9480, 5.3175)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52822D #5D2D82
analogous
#7D822D #52822D #2D8233
triadic
#52822D #2D5282 #822D52
tetradic
#52822D #2D7D82 #5D2D82 #82332D
square
#52822D #2D7D82 #5D2D82 #82332D
split-complementary
#52822D #332D82 #822D7D
monochromatic
#19270E #35551D #52822D #6FAF3D #8EC861

Accessibility & contrast

On white

4.58
#52822D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#52822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52822D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52822D#FFFFFF#000000##000000
##52822D1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#527D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52822d;
/* rgb */ color: rgb(82, 130, 45);
/* oklch */ color: oklch(55.3% 0.127 133.9);
Tailwind
colors: {
  custom: {
    50: '#86a66a',
    500: '#52822d',
    950: '#000000',
  },
}
SCSS
$custom: #52822d;
$custom-light: #86a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#52822d",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 93.882,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.12726,
    "h": 133.9
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#52822D
secondary
#8B5CAF
accent
#50D89D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52822D

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

Preview Lab → · Contrast checker → · Palette generator →

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