#52801E#52801E

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

Color values

HEX#52801E
RGBrgb(82, 128, 30)
HSLhsl(88, 62%, 31%)
HSVhsv(88, 77%, 50%)
CMYKcmyk(35.9%, 0%, 76.6%, 49.8%)
CIE-LABlab(48.67, -31.92, 45.18)
CIE-LCHlch(48.67, 55.32, 125.24°)
OKLaboklab(54.67% -0.0902 0.101)
OKLCHoklch(54.67% 0.135 131.8)
XYZxyz(11.4331, 17.3255, 3.9698)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52801E #4C1E80
analogous
#807D1E #52801E #21801E
triadic
#52801E #1E5280 #801E52
tetradic
#52801E #1E807D #4C1E80 #801E21
square
#52801E #1E807D #4C1E80 #801E21
split-complementary
#52801E #1E2180 #7D1E80
monochromatic
#121D07 #324E12 #52801E #72B22A #91D345

Accessibility & contrast

On white

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

On black

4.47
#52801E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##52801E#FFFFFF#000000##FFFFFF
##52801E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760A
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#537A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52801e;
/* rgb */ color: rgb(82, 128, 30);
/* oklch */ color: oklch(54.7% 0.135 131.8);
Tailwind
colors: {
  custom: {
    50: '#87a561',
    500: '#52801e',
    950: '#000000',
  },
}
SCSS
$custom: #52801e;
$custom-light: #87a561;
$custom-dark: #000000;
JSON
{
  "hex": "#52801e",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 88.163,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.13543,
    "h": 131.8
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#52801E
secondary
#7A47B3
accent
#43E58F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52801E

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

Preview Lab → · Contrast checker → · Palette generator →

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