#52801D#52801D

#52801D is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.136 H 131.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#52801D
RGBrgb(82, 128, 29)
HSLhsl(88, 63%, 31%)
HSVhsv(88, 77%, 50%)
CMYKcmyk(35.9%, 0%, 77.3%, 49.8%)
CIE-LABlab(48.66, -31.98, 45.54)
CIE-LCHlch(48.66, 55.65, 125.08°)
OKLaboklab(54.67% -0.0905 0.1016)
OKLCHoklch(54.67% 0.136 131.7)
XYZxyz(11.4205, 17.3204, 3.9036)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52801D #4B1D80
analogous
#807C1D #52801D #20801D
triadic
#52801D #1D5280 #801D52
tetradic
#52801D #1D807C #4B1D80 #801D20
square
#52801D #1D807C #4B1D80 #801D20
split-complementary
#52801D #1D2080 #7C1D80
monochromatic
#121C06 #324E12 #52801D #72B228 #91D443

Accessibility & contrast

On white

4.70
#52801D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#52801D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52801D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52801D#FFFFFF#000000##FFFFFF
##52801D1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867607
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#537A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52801d;
/* rgb */ color: rgb(82, 128, 29);
/* oklch */ color: oklch(54.7% 0.136 131.7);
Tailwind
colors: {
  custom: {
    50: '#87a561',
    500: '#52801d',
    950: '#000000',
  },
}
SCSS
$custom: #52801d;
$custom-light: #87a561;
$custom-dark: #000000;
JSON
{
  "hex": "#52801d",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 87.879,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54667,
    "c": 0.13603,
    "h": 131.7
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#52801D
secondary
#7945B3
accent
#42E68E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52801D

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

Preview Lab → · Contrast checker → · Palette generator →

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