#52801C#52801C

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

Color values

HEX#52801C
RGBrgb(82, 128, 28)
HSLhsl(88, 64%, 31%)
HSVhsv(88, 78%, 50%)
CMYKcmyk(35.9%, 0%, 78.1%, 49.8%)
CIE-LABlab(48.66, -32.05, 45.89)
CIE-LCHlch(48.66, 55.97, 124.93°)
OKLaboklab(54.66% -0.0907 0.1022)
OKLCHoklch(54.66% 0.137 131.6)
XYZxyz(11.4083, 17.3156, 3.8395)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52801C #4A1C80
analogous
#807C1C #52801C #20801C
triadic
#52801C #1C5280 #801C52
tetradic
#52801C #1C807C #4A1C80 #801C20
square
#52801C #1C807C #4A1C80 #801C20
split-complementary
#52801C #1C2080 #7C1C80
monochromatic
#121C06 #324E11 #52801C #72B227 #91D541

Accessibility & contrast

On white

4.71
#52801C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #52801C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52801C#FFFFFF#000000##FFFFFF
##52801C1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#537A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52801c;
/* rgb */ color: rgb(82, 128, 28);
/* oklch */ color: oklch(54.7% 0.137 131.6);
Tailwind
colors: {
  custom: {
    50: '#87a560',
    500: '#52801c',
    950: '#000000',
  },
}
SCSS
$custom: #52801c;
$custom-light: #87a560;
$custom-dark: #000000;
JSON
{
  "hex": "#52801c",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 87.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.13663,
    "h": 131.6
  },
  "luminance": 0.17316
}

Semantic roles & 50–950 ramp

primary
#52801C
secondary
#7744B3
accent
#41E78D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #52801C

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

Preview Lab → · Contrast checker → · Palette generator →

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