#52831E#52831E

#52831E is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.5% C 0.139 H 132.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#52831E
RGBrgb(82, 131, 30)
HSLhsl(89, 63%, 32%)
HSVhsv(89, 77%, 51%)
CMYKcmyk(37.4%, 0%, 77.1%, 48.6%)
CIE-LABlab(49.64, -33.29, 46.13)
CIE-LCHlch(49.64, 56.89, 125.82°)
OKLaboklab(55.47% -0.094 0.103)
OKLCHoklch(55.47% 0.139 132.4)
XYZxyz(11.8302, 18.1197, 4.1022)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52831E #4F1E83
analogous
#83821E #52831E #20831E
triadic
#52831E #1E5283 #831E52
tetradic
#52831E #1E8382 #4F1E83 #831E20
square
#52831E #1E8382 #4F1E83 #831E20
split-complementary
#52831E #1E2083 #821E83
monochromatic
#141F07 #335113 #52831E #71B529 #90D547

Accessibility & contrast

On white

4.54
#52831E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#52831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52831E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52831E#FFFFFF#000000##000000
##52831E1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897808
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#537D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #52831e;
/* rgb */ color: rgb(82, 131, 30);
/* oklch */ color: oklch(55.5% 0.139 132.4);
Tailwind
colors: {
  custom: {
    50: '#87a762',
    500: '#52831e',
    950: '#000000',
  },
}
SCSS
$custom: #52831e;
$custom-light: #87a762;
$custom-dark: #000000;
JSON
{
  "hex": "#52831e",
  "rgb": {
    "r": 82,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 89.109,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55469,
    "c": 0.13939,
    "h": 132.4
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

primary
#52831E
secondary
#7D47B6
accent
#42E691
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52831E

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

Preview Lab → · Contrast checker → · Palette generator →

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