#52822B#52822B

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

Color values

HEX#52822B
RGBrgb(82, 130, 43)
HSLhsl(93, 50%, 34%)
HSVhsv(93, 67%, 51%)
CMYKcmyk(36.9%, 0%, 66.9%, 49%)
CIE-LABlab(49.41, -31.84, 40.60)
CIE-LCHlch(49.41, 51.59, 128.11°)
OKLaboklab(55.32% -0.0889 0.0933)
OKLCHoklch(55.32% 0.129 133.6)
XYZxyz(11.8981, 17.9330, 5.1195)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52822B #5B2B82
analogous
#7E822B #52822B #2B822F
triadic
#52822B #2B5282 #822B52
tetradic
#52822B #2B7E82 #5B2B82 #822F2B
square
#52822B #2B7E82 #5B2B82 #822F2B
split-complementary
#52822B #2F2B82 #822B7E
monochromatic
#18260D #35541C #52822B #6FB03A #8ECA5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52822B#FFFFFF#000000##000000
##52822B1.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)
#877820
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#527D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52822b;
/* rgb */ color: rgb(82, 130, 43);
/* oklch */ color: oklch(55.3% 0.129 133.6);
Tailwind
colors: {
  custom: {
    50: '#86a669',
    500: '#52822b',
    950: '#000000',
  },
}
SCSS
$custom: #52822b;
$custom-light: #86a669;
$custom-dark: #000000;
JSON
{
  "hex": "#52822b",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 93.103,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.12889,
    "h": 133.6
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#52822B
secondary
#8959B0
accent
#4EDA9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #52822B

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

Preview Lab → · Contrast checker → · Palette generator →

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