#52852D#52852D

#52852D is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.131 H 134.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#52852D
RGBrgb(82, 133, 45)
HSLhsl(95, 49%, 35%)
HSVhsv(95, 66%, 52%)
CMYKcmyk(38.3%, 0%, 66.2%, 47.8%)
CIE-LABlab(50.40, -33.03, 40.77)
CIE-LCHlch(50.40, 52.47, 129.02°)
OKLaboklab(56.13% -0.0921 0.0939)
OKLCHoklch(56.13% 0.131 134.4)
XYZxyz(12.3406, 18.7578, 5.4525)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52852D #602D85
analogous
#7E852D #52852D #2D8534
triadic
#52852D #2D5285 #852D52
tetradic
#52852D #2D7E85 #602D85 #85342D
square
#52852D #2D7E85 #602D85 #85342D
split-complementary
#52852D #342D85 #852D7E
monochromatic
#1A2A0E #36571E #52852D #6EB33C #8ECA62

Accessibility & contrast

On white

4.42
#52852D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#52852D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52852D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52852D#FFFFFF#000000##000000
##52852D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B22
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#518073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52852d;
/* rgb */ color: rgb(82, 133, 45);
/* oklch */ color: oklch(56.1% 0.131 134.4);
Tailwind
colors: {
  custom: {
    50: '#86a96a',
    500: '#52852d',
    950: '#000000',
  },
}
SCSS
$custom: #52852d;
$custom-light: #86a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#52852d",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 94.773,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56127,
    "c": 0.13149,
    "h": 134.4
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#52852D
secondary
#8E5DB0
accent
#4FD99F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52852D

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

Preview Lab → · Contrast checker → · Palette generator →

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