#52831A#52831A

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

Color values

HEX#52831A
RGBrgb(82, 131, 26)
HSLhsl(88, 67%, 31%)
HSVhsv(88, 80%, 51%)
CMYKcmyk(37.4%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.62, -33.53, 47.49)
CIE-LCHlch(49.62, 58.13, 125.22°)
OKLaboklab(55.44% -0.0949 0.1052)
OKLCHoklch(55.44% 0.142 132.1)
XYZxyz(11.7823, 18.1005, 3.8500)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52831A #4B1A83
analogous
#837F1A #52831A #1D831A
triadic
#52831A #1A5283 #831A52
tetradic
#52831A #1A837F #4B1A83 #831A1D
square
#52831A #1A837F #4B1A83 #831A1D
split-complementary
#52831A #1A1D83 #7F1A83
monochromatic
#121D06 #325010 #52831A #72B624 #91D93F

Accessibility & contrast

On white

4.55
#52831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##52831A#FFFFFF#000000##000000
##52831A1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#537D6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #52831a;
/* rgb */ color: rgb(82, 131, 26);
/* oklch */ color: oklch(55.4% 0.142 132.1);
Tailwind
colors: {
  custom: {
    50: '#87a760',
    500: '#52831a',
    950: '#000000',
  },
}
SCSS
$custom: #52831a;
$custom-light: #87a760;
$custom-dark: #000000;
JSON
{
  "hex": "#52831a",
  "rgb": {
    "r": 82,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 88,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.14165,
    "h": 132.1
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#52831A
secondary
#7942B7
accent
#3EEA8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #52831A

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

Preview Lab → · Contrast checker → · Palette generator →

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