#52781A#52781A

#52781A is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.127 H 129.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#52781A
RGBrgb(82, 120, 26)
HSLhsl(84, 64%, 29%)
HSVhsv(84, 78%, 47%)
CMYKcmyk(31.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(46.04, -28.42, 44.09)
CIE-LCHlch(46.04, 52.46, 122.80°)
OKLaboklab(52.53% -0.081 0.0981)
OKLCHoklch(52.53% 0.127 129.6)
XYZxyz(10.3826, 15.3011, 3.3835)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52781A #401A78
analogous
#786F1A #52781A #23781A
triadic
#52781A #1A5278 #781A52
tetradic
#52781A #1A786F #401A78 #781A23
square
#52781A #1A786F #401A78 #781A23
split-complementary
#52781A #1A2378 #6F1A78
monochromatic
#111905 #30460F #52781A #74AA25 #95D438

Accessibility & contrast

On white

5.17
#52781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#52781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52781A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52781A#FFFFFF#000000##FFFFFF
##52781A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F05
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#547266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #52781a;
/* rgb */ color: rgb(82, 120, 26);
/* oklch */ color: oklch(52.5% 0.127 129.6);
Tailwind
colors: {
  custom: {
    50: '#869f5e',
    500: '#52781a',
    950: '#000000',
  },
}
SCSS
$custom: #52781a;
$custom-light: #869f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#52781a",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 84.255,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52528,
    "c": 0.12721,
    "h": 129.6
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#52781A
secondary
#6D41AC
accent
#40E784
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52781A

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

Preview Lab → · Contrast checker → · Palette generator →

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