#52822C#52822C

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

Color values

HEX#52822C
RGBrgb(82, 130, 44)
HSLhsl(93, 49%, 34%)
HSVhsv(93, 66%, 51%)
CMYKcmyk(36.9%, 0%, 66.2%, 49%)
CIE-LABlab(49.42, -31.75, 40.16)
CIE-LCHlch(49.42, 51.19, 128.33°)
OKLaboklab(55.33% -0.0886 0.0925)
OKLCHoklch(55.33% 0.128 133.8)
XYZxyz(11.9167, 17.9404, 5.2173)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52822C #5C2C82
analogous
#7D822C #52822C #2C8231
triadic
#52822C #2C5282 #822C52
tetradic
#52822C #2C7D82 #5C2C82 #82312C
square
#52822C #2C7D82 #5C2C82 #82312C
split-complementary
#52822C #312C82 #822C7D
monochromatic
#18270D #35541D #52822C #6FB03B #8EC95F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52822C#FFFFFF#000000##000000
##52822C1.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)
#877821
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#527D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52822c;
/* rgb */ color: rgb(82, 130, 44);
/* oklch */ color: oklch(55.3% 0.128 133.8);
Tailwind
colors: {
  custom: {
    50: '#86a669',
    500: '#52822c',
    950: '#000000',
  },
}
SCSS
$custom: #52822c;
$custom-light: #86a669;
$custom-dark: #000000;
JSON
{
  "hex": "#52822c",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 93.488,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.12809,
    "h": 133.8
  },
  "luminance": 0.17941
}

Semantic roles & 50–950 ramp

primary
#52822C
secondary
#8A5BAF
accent
#4FD99C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #52822C

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

Preview Lab → · Contrast checker → · Palette generator →

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