#52822A#52822A

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

Color values

HEX#52822A
RGBrgb(82, 130, 42)
HSLhsl(93, 51%, 34%)
HSVhsv(93, 68%, 51%)
CMYKcmyk(36.9%, 0%, 67.7%, 49%)
CIE-LABlab(49.41, -31.93, 41.03)
CIE-LCHlch(49.41, 51.99, 127.89°)
OKLaboklab(55.31% -0.0893 0.0941)
OKLCHoklch(55.31% 0.13 133.5)
XYZxyz(11.8800, 17.9258, 5.0241)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52822A #5A2A82
analogous
#7E822A #52822A #2A822E
triadic
#52822A #2A5282 #822A52
tetradic
#52822A #2A7E82 #5A2A82 #822E2A
square
#52822A #2A7E82 #5A2A82 #822E2A
split-complementary
#52822A #2E2A82 #822A7E
monochromatic
#18250C #35541B #52822A #6FB039 #8ECA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52822A#FFFFFF#000000##000000
##52822A1.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)
#87781E
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#527D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52822a;
/* rgb */ color: rgb(82, 130, 42);
/* oklch */ color: oklch(55.3% 0.130 133.5);
Tailwind
colors: {
  custom: {
    50: '#86a668',
    500: '#52822a',
    950: '#000000',
  },
}
SCSS
$custom: #52822a;
$custom-light: #86a668;
$custom-dark: #000000;
JSON
{
  "hex": "#52822a",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 92.727,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.12969,
    "h": 133.5
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#52822A
secondary
#8858B0
accent
#4DDB9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #52822A

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

Preview Lab → · Contrast checker → · Palette generator →

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