#52831F#52831F

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

Color values

HEX#52831F
RGBrgb(82, 131, 31)
HSLhsl(89, 62%, 32%)
HSVhsv(89, 76%, 51%)
CMYKcmyk(37.4%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.65, -33.23, 45.77)
CIE-LCHlch(49.65, 56.56, 125.98°)
OKLaboklab(55.48% -0.0937 0.1024)
OKLCHoklch(55.48% 0.139 132.5)
XYZxyz(11.8431, 18.1249, 4.1705)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52831F #501F83
analogous
#83821F #52831F #20831F
triadic
#52831F #1F5283 #831F52
tetradic
#52831F #1F8382 #501F83 #831F20
square
#52831F #1F8382 #501F83 #831F20
split-complementary
#52831F #1F2083 #821F83
monochromatic
#142008 #335213 #52831F #71B42B #90D449

Accessibility & contrast

On white

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

On black

4.63
#52831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52831F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52831F#FFFFFF#000000##000000
##52831F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780A
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#537D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #52831f;
/* rgb */ color: rgb(82, 131, 31);
/* oklch */ color: oklch(55.5% 0.139 132.5);
Tailwind
colors: {
  custom: {
    50: '#87a762',
    500: '#52831f',
    950: '#000000',
  },
}
SCSS
$custom: #52831f;
$custom-light: #87a762;
$custom-dark: #000000;
JSON
{
  "hex": "#52831f",
  "rgb": {
    "r": 82,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 89.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.13878,
    "h": 132.5
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#52831F
secondary
#7E48B6
accent
#43E592
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52831F

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

Preview Lab → · Contrast checker → · Palette generator →

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