#52801F#52801F

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

Color values

HEX#52801F
RGBrgb(82, 128, 31)
HSLhsl(88, 61%, 31%)
HSVhsv(88, 76%, 50%)
CMYKcmyk(35.9%, 0%, 75.8%, 49.8%)
CIE-LABlab(48.67, -31.86, 44.81)
CIE-LCHlch(48.67, 54.98, 125.41°)
OKLaboklab(54.68% -0.09 0.1004)
OKLCHoklch(54.68% 0.135 131.9)
XYZxyz(11.4460, 17.3307, 4.0381)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52801F #4D1F80
analogous
#807D1F #52801F #21801F
triadic
#52801F #1F5280 #801F52
tetradic
#52801F #1F807D #4D1F80 #801F21
square
#52801F #1F807D #4D1F80 #801F21
split-complementary
#52801F #1F2180 #7D1F80
monochromatic
#131D07 #324F13 #52801F #72B12B #90D247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52801F#FFFFFF#000000##FFFFFF
##52801F1.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)
#86760C
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#537A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52801f;
/* rgb */ color: rgb(82, 128, 31);
/* oklch */ color: oklch(54.7% 0.135 131.9);
Tailwind
colors: {
  custom: {
    50: '#87a562',
    500: '#52801f',
    950: '#000000',
  },
}
SCSS
$custom: #52801f;
$custom-light: #87a562;
$custom-dark: #000000;
JSON
{
  "hex": "#52801f",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 88.454,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54681,
    "c": 0.1348,
    "h": 131.9
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#52801F
secondary
#7B48B3
accent
#44E490
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52801F

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

Preview Lab → · Contrast checker → · Palette generator →

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