#52862D#52862D

#52862D is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.4% C 0.133 H 134.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#52862D
RGBrgb(82, 134, 45)
HSLhsl(95, 50%, 35%)
HSVhsv(95, 66%, 53%)
CMYKcmyk(38.8%, 0%, 66.4%, 47.5%)
CIE-LABlab(50.73, -33.49, 41.12)
CIE-LCHlch(50.73, 53.03, 129.16°)
OKLaboklab(56.39% -0.0933 0.0946)
OKLCHoklch(56.39% 0.133 134.6)
XYZxyz(12.4782, 19.0329, 5.4984)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52862D #612D86
analogous
#7F862D #52862D #2D8634
triadic
#52862D #2D5286 #862D52
tetradic
#52862D #2D7F86 #612D86 #86342D
square
#52862D #2D7F86 #612D86 #86342D
split-complementary
#52862D #342D86 #862D7F
monochromatic
#1A2A0E #36581E #52862D #6EB43C #8ECB63

Accessibility & contrast

On white

4.37
#52862D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#52862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52862D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52862D#FFFFFF#000000##000000
##52862D1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B22
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#518174
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52862d;
/* rgb */ color: rgb(82, 134, 45);
/* oklch */ color: oklch(56.4% 0.133 134.6);
Tailwind
colors: {
  custom: {
    50: '#87a96a',
    500: '#52862d',
    950: '#000000',
  },
}
SCSS
$custom: #52862d;
$custom-light: #87a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#52862d",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 95.056,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.13289,
    "h": 134.6
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#52862D
secondary
#8E5EB1
accent
#4FD9A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52862D

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

Preview Lab → · Contrast checker → · Palette generator →

#52862D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva