#52831C#52831C

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

Color values

HEX#52831C
RGBrgb(82, 131, 28)
HSLhsl(89, 65%, 31%)
HSVhsv(89, 79%, 51%)
CMYKcmyk(37.4%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.63, -33.41, 46.82)
CIE-LCHlch(49.63, 57.52, 125.51°)
OKLaboklab(55.46% -0.0944 0.1041)
OKLCHoklch(55.46% 0.141 132.2)
XYZxyz(11.8054, 18.1098, 3.9719)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52831C #4D1C83
analogous
#83801C #52831C #1E831C
triadic
#52831C #1C5283 #831C52
tetradic
#52831C #1C8380 #4D1C83 #831C1E
square
#52831C #1C8380 #4D1C83 #831C1E
split-complementary
#52831C #1C1E83 #801C83
monochromatic
#131E06 #325111 #52831C #72B527 #90D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #52831c;
/* rgb */ color: rgb(82, 131, 28);
/* oklch */ color: oklch(55.5% 0.141 132.2);
Tailwind
colors: {
  custom: {
    50: '#87a761',
    500: '#52831c',
    950: '#000000',
  },
}
SCSS
$custom: #52831c;
$custom-light: #87a761;
$custom-dark: #000000;
JSON
{
  "hex": "#52831c",
  "rgb": {
    "r": 82,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 88.544,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.14055,
    "h": 132.2
  },
  "luminance": 0.1811
}

Semantic roles & 50–950 ramp

primary
#52831C
secondary
#7B45B6
accent
#40E890
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52831C

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

Preview Lab → · Contrast checker → · Palette generator →

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