#52871E#52871E

#52871E is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.5% C 0.145 H 133.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#52871E
RGBrgb(82, 135, 30)
HSLhsl(90, 64%, 32%)
HSVhsv(90, 78%, 53%)
CMYKcmyk(39.3%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.94, -35.09, 47.38)
CIE-LCHlch(50.94, 58.96, 126.52°)
OKLaboklab(56.53% -0.0988 0.1056)
OKLCHoklch(56.53% 0.145 133.1)
XYZxyz(12.3778, 19.2149, 4.2847)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52871E #531E87
analogous
#86871E #52871E #1E871F
triadic
#52871E #1E5287 #871E52
tetradic
#52871E #1E8687 #531E87 #871F1E
square
#52871E #1E8687 #531E87 #871F1E
split-complementary
#52871E #1F1E87 #871E86
monochromatic
#152308 #345513 #52871E #70B929 #8FD749

Accessibility & contrast

On white

4.34
#52871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#52871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52871E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52871E#FFFFFF#000000##000000
##52871E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C06
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#528173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52871e;
/* rgb */ color: rgb(82, 135, 30);
/* oklch */ color: oklch(56.5% 0.145 133.1);
Tailwind
colors: {
  custom: {
    50: '#87aa62',
    500: '#52871e',
    950: '#000000',
  },
}
SCSS
$custom: #52871e;
$custom-light: #87aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#52871e",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 90.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.14461,
    "h": 133.1
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#52871E
secondary
#8148B9
accent
#41E795
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52871E

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

Preview Lab → · Contrast checker → · Palette generator →

#52871E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva