#52802E#52802E

#52802E is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.124 H 133.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#52802E
RGBrgb(82, 128, 46)
HSLhsl(94, 47%, 34%)
HSVhsv(94, 64%, 50%)
CMYKcmyk(35.9%, 0%, 64.1%, 49.8%)
CIE-LABlab(48.80, -30.63, 38.54)
CIE-LCHlch(48.80, 49.23, 128.47°)
OKLaboklab(54.82% -0.0854 0.0893)
OKLCHoklch(54.82% 0.124 133.7)
XYZxyz(11.6918, 17.4290, 5.3323)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52802E #5C2E80
analogous
#7B802E #52802E #2E8033
triadic
#52802E #2E5280 #802E52
tetradic
#52802E #2E7B80 #5C2E80 #80332E
square
#52802E #2E7B80 #5C2E80 #80332E
split-complementary
#52802E #332E80 #802E7B
monochromatic
#18260E #35531E #52802E #6FAD3E #8EC762

Accessibility & contrast

On white

4.68
#52802E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#52802E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52802E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52802E#FFFFFF#000000##FFFFFF
##52802E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#527B6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52802e;
/* rgb */ color: rgb(82, 128, 46);
/* oklch */ color: oklch(54.8% 0.124 133.7);
Tailwind
colors: {
  custom: {
    50: '#86a56a',
    500: '#52802e',
    950: '#000000',
  },
}
SCSS
$custom: #52802e;
$custom-light: #86a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#52802e",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 93.659,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.12356,
    "h": 133.7
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#52802E
secondary
#8A5DAD
accent
#51D79C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52802E

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

Preview Lab → · Contrast checker → · Palette generator →

#52802E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva