#52822F#52822F

#52822F is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.126 H 134.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#52822F
RGBrgb(82, 130, 47)
HSLhsl(95, 47%, 35%)
HSVhsv(95, 64%, 51%)
CMYKcmyk(36.9%, 0%, 63.8%, 49%)
CIE-LABlab(49.45, -31.46, 38.80)
CIE-LCHlch(49.45, 49.96, 129.03°)
OKLaboklab(55.36% -0.0876 0.09)
OKLCHoklch(55.36% 0.126 134.2)
XYZxyz(11.9752, 17.9638, 5.5252)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52822F #5F2F82
analogous
#7C822F #52822F #2F8236
triadic
#52822F #2F5282 #822F52
tetradic
#52822F #2F7C82 #5F2F82 #82362F
square
#52822F #2F7C82 #5F2F82 #82362F
split-complementary
#52822F #362F82 #822F7C
monochromatic
#19280E #36551F #52822F #6EAF3F #8EC764

Accessibility & contrast

On white

4.57
#52822F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##52822F#FFFFFF#000000##000000
##52822F1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#527D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #52822f;
/* rgb */ color: rgb(82, 130, 47);
/* oklch */ color: oklch(55.4% 0.126 134.2);
Tailwind
colors: {
  custom: {
    50: '#86a66b',
    500: '#52822f',
    950: '#000000',
  },
}
SCSS
$custom: #52822f;
$custom-light: #86a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#52822f",
  "rgb": {
    "r": 82,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 94.699,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.12557,
    "h": 134.2
  },
  "luminance": 0.17964
}

Semantic roles & 50–950 ramp

primary
#52822F
secondary
#8D5FAE
accent
#51D79E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52822F

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

Preview Lab → · Contrast checker → · Palette generator →

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