#52842A#52842A

#52842A is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.132 H 133.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#52842A
RGBrgb(82, 132, 42)
HSLhsl(93, 52%, 34%)
HSVhsv(93, 68%, 52%)
CMYKcmyk(37.9%, 0%, 68.2%, 48.2%)
CIE-LABlab(50.05, -32.85, 41.73)
CIE-LCHlch(50.05, 53.10, 128.21°)
OKLaboklab(55.83% -0.0918 0.0955)
OKLCHoklch(55.83% 0.132 133.9)
XYZxyz(12.1486, 18.4630, 5.1136)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52842A #5C2A84
analogous
#7F842A #52842A #2A842F
triadic
#52842A #2A5284 #842A52
tetradic
#52842A #2A7F84 #5C2A84 #842F2A
square
#52842A #2A7F84 #5C2A84 #842F2A
split-complementary
#52842A #2F2A84 #842A7F
monochromatic
#18270C #35561B #52842A #6FB239 #8ECB5D

Accessibility & contrast

On white

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

On black

4.69
#52842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52842A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52842A#FFFFFF#000000##000000
##52842A1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1E
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#527F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #52842a;
/* rgb */ color: rgb(82, 132, 42);
/* oklch */ color: oklch(55.8% 0.132 133.9);
Tailwind
colors: {
  custom: {
    50: '#87a868',
    500: '#52842a',
    950: '#000000',
  },
}
SCSS
$custom: #52842a;
$custom-light: #87a868;
$custom-dark: #000000;
JSON
{
  "hex": "#52842a",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 93.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.13247,
    "h": 133.9
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#52842A
secondary
#8A59B1
accent
#4DDB9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #52842A

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

Preview Lab → · Contrast checker → · Palette generator →

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