#52802F#52802F

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

Color values

HEX#52802F
RGBrgb(82, 128, 47)
HSLhsl(94, 46%, 34%)
HSVhsv(94, 63%, 50%)
CMYKcmyk(35.9%, 0%, 63.3%, 49.8%)
CIE-LABlab(48.81, -30.53, 38.08)
CIE-LCHlch(48.81, 48.81, 128.72°)
OKLaboklab(54.83% -0.085 0.0885)
OKLCHoklch(54.83% 0.123 133.9)
XYZxyz(11.7117, 17.4369, 5.4374)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52802F #5D2F80
analogous
#7B802F #52802F #2F8035
triadic
#52802F #2F5280 #802F52
tetradic
#52802F #2F7B80 #5D2F80 #80352F
square
#52802F #2F7B80 #5D2F80 #80352F
split-complementary
#52802F #352F80 #802F7B
monochromatic
#19260E #35531F #52802F #6FAD3F #8EC663

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52802F#FFFFFF#000000##FFFFFF
##52802F1.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)
#857626
Deuteranopia (green-blind)
#7E7335
Tritanopia (blue-blind)
#527B6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52802f;
/* rgb */ color: rgb(82, 128, 47);
/* oklch */ color: oklch(54.8% 0.123 133.9);
Tailwind
colors: {
  custom: {
    50: '#86a56b',
    500: '#52802f',
    950: '#000000',
  },
}
SCSS
$custom: #52802f;
$custom-light: #86a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#52802f",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 94.074,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.12269,
    "h": 133.9
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#52802F
secondary
#8B5EAD
accent
#52D69D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52802F

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

Preview Lab → · Contrast checker → · Palette generator →

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