#52801B#52801B

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

Color values

HEX#52801B
RGBrgb(82, 128, 27)
HSLhsl(87, 65%, 30%)
HSVhsv(87, 79%, 50%)
CMYKcmyk(35.9%, 0%, 78.9%, 49.8%)
CIE-LABlab(48.65, -32.11, 46.23)
CIE-LCHlch(48.65, 56.29, 124.78°)
OKLaboklab(54.65% -0.091 0.1027)
OKLCHoklch(54.65% 0.137 131.5)
XYZxyz(11.3966, 17.3109, 3.7776)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52801B #491B80
analogous
#807B1B #52801B #1F801B
triadic
#52801B #1B5280 #801B52
tetradic
#52801B #1B807B #491B80 #801B1F
square
#52801B #1B807B #491B80 #801B1F
split-complementary
#52801B #1B1F80 #7B1B80
monochromatic
#111B06 #324D10 #52801B #72B326 #91D63F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #52801b;
/* rgb */ color: rgb(82, 128, 27);
/* oklch */ color: oklch(54.7% 0.137 131.5);
Tailwind
colors: {
  custom: {
    50: '#87a560',
    500: '#52801b',
    950: '#000000',
  },
}
SCSS
$custom: #52801b;
$custom-light: #87a560;
$custom-dark: #000000;
JSON
{
  "hex": "#52801b",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 87.327,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.1372,
    "h": 131.5
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#52801B
secondary
#7643B4
accent
#40E88C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #52801B

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

Preview Lab → · Contrast checker → · Palette generator →

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