#52811E#52811E

#52811E is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.137 H 132.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#52811E
RGBrgb(82, 129, 30)
HSLhsl(88, 62%, 31%)
HSVhsv(88, 77%, 51%)
CMYKcmyk(36.4%, 0%, 76.7%, 49.4%)
CIE-LABlab(48.99, -32.38, 45.49)
CIE-LCHlch(48.99, 55.84, 125.44°)
OKLaboklab(54.94% -0.0915 0.1016)
OKLCHoklch(54.94% 0.137 132)
XYZxyz(11.5641, 17.5876, 4.0135)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52811E #4D1E81
analogous
#817E1E #52811E #20811E
triadic
#52811E #1E5281 #811E52
tetradic
#52811E #1E817E #4D1E81 #811E20
square
#52811E #1E817E #4D1E81 #811E20
split-complementary
#52811E #1E2081 #7E1E81
monochromatic
#131E07 #324F12 #52811E #72B32A #90D446

Accessibility & contrast

On white

4.65
#52811E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#52811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #52811E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52811E#FFFFFF#000000##FFFFFF
##52811E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877709
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#537B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52811e;
/* rgb */ color: rgb(82, 129, 30);
/* oklch */ color: oklch(54.9% 0.137 132.0);
Tailwind
colors: {
  custom: {
    50: '#87a662',
    500: '#52811e',
    950: '#000000',
  },
}
SCSS
$custom: #52811e;
$custom-light: #87a662;
$custom-dark: #000000;
JSON
{
  "hex": "#52811e",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 88.485,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54939,
    "c": 0.13675,
    "h": 132
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#52811E
secondary
#7B47B4
accent
#42E590
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52811E

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

Preview Lab → · Contrast checker → · Palette generator →

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