#52842F#52842F

#52842F is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.9% C 0.128 H 134.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#52842F
RGBrgb(82, 132, 47)
HSLhsl(95, 47%, 35%)
HSVhsv(95, 64%, 52%)
CMYKcmyk(37.9%, 0%, 64.4%, 48.2%)
CIE-LABlab(50.10, -32.39, 39.52)
CIE-LCHlch(50.10, 51.10, 129.33°)
OKLaboklab(55.89% -0.0901 0.0915)
OKLCHoklch(55.89% 0.128 134.6)
XYZxyz(12.2438, 18.5010, 5.6147)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52842F #612F84
analogous
#7D842F #52842F #2F8436
triadic
#52842F #2F5284 #842F52
tetradic
#52842F #2F7D84 #612F84 #84362F
square
#52842F #2F7D84 #612F84 #84362F
split-complementary
#52842F #362F84 #842F7D
monochromatic
#1A2A0F #36571F #52842F #6EB13F #8EC865

Accessibility & contrast

On white

4.47
#52842F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#52842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52842F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52842F#FFFFFF#000000##000000
##52842F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#517F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #52842f;
/* rgb */ color: rgb(82, 132, 47);
/* oklch */ color: oklch(55.9% 0.128 134.6);
Tailwind
colors: {
  custom: {
    50: '#86a86b',
    500: '#52842f',
    950: '#000000',
  },
}
SCSS
$custom: #52842f;
$custom-light: #86a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#52842f",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 95.294,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55885,
    "c": 0.12842,
    "h": 134.6
  },
  "luminance": 0.18502
}

Semantic roles & 50–950 ramp

primary
#52842F
secondary
#8E60AF
accent
#51D7A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52842F

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

Preview Lab → · Contrast checker → · Palette generator →

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