#52831D#52831D

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

Color values

HEX#52831D
RGBrgb(82, 131, 29)
HSLhsl(89, 64%, 31%)
HSVhsv(89, 78%, 51%)
CMYKcmyk(37.4%, 0%, 77.9%, 48.6%)
CIE-LABlab(49.63, -33.35, 46.48)
CIE-LCHlch(49.63, 57.21, 125.66°)
OKLaboklab(55.46% -0.0942 0.1035)
OKLCHoklch(55.46% 0.14 132.3)
XYZxyz(11.8176, 18.1146, 4.0360)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52831D #4E1D83
analogous
#83811D #52831D #1F831D
triadic
#52831D #1D5283 #831D52
tetradic
#52831D #1D8381 #4E1D83 #831D1F
square
#52831D #1D8381 #4E1D83 #831D1F
split-complementary
#52831D #1D1F83 #811D83
monochromatic
#131F07 #335112 #52831D #71B528 #90D645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52831D#FFFFFF#000000##000000
##52831D1.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)
#897806
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#537D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #52831d;
/* rgb */ color: rgb(82, 131, 29);
/* oklch */ color: oklch(55.5% 0.140 132.3);
Tailwind
colors: {
  custom: {
    50: '#87a761',
    500: '#52831d',
    950: '#000000',
  },
}
SCSS
$custom: #52831d;
$custom-light: #87a761;
$custom-dark: #000000;
JSON
{
  "hex": "#52831d",
  "rgb": {
    "r": 82,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 88.824,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.13997,
    "h": 132.3
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#52831D
secondary
#7C46B6
accent
#41E791
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52831D

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

Preview Lab → · Contrast checker → · Palette generator →

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