#52801A#52801A

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

Color values

HEX#52801A
RGBrgb(82, 128, 26)
HSLhsl(87, 66%, 30%)
HSVhsv(87, 80%, 50%)
CMYKcmyk(35.9%, 0%, 79.7%, 49.8%)
CIE-LABlab(48.64, -32.16, 46.57)
CIE-LCHlch(48.64, 56.60, 124.63°)
OKLaboklab(54.65% -0.0912 0.1033)
OKLCHoklch(54.65% 0.138 131.5)
XYZxyz(11.3852, 17.3063, 3.7177)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52801A #481A80
analogous
#807B1A #52801A #1F801A
triadic
#52801A #1A5280 #801A52
tetradic
#52801A #1A807B #481A80 #801A1F
square
#52801A #1A807B #481A80 #801A1F
split-complementary
#52801A #1A1F80 #7B1A80
monochromatic
#111A05 #314D10 #52801A #73B324 #92D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52801A#FFFFFF#000000##FFFFFF
##52801A1.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)
#867601
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#537A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52801a;
/* rgb */ color: rgb(82, 128, 26);
/* oklch */ color: oklch(54.6% 0.138 131.5);
Tailwind
colors: {
  custom: {
    50: '#87a560',
    500: '#52801a',
    950: '#000000',
  },
}
SCSS
$custom: #52801a;
$custom-light: #87a560;
$custom-dark: #000000;
JSON
{
  "hex": "#52801a",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 87.059,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54647,
    "c": 0.13775,
    "h": 131.5
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#52801A
secondary
#7542B4
accent
#3FE98C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #52801A

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

Preview Lab → · Contrast checker → · Palette generator →

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