#52771C#52771C

#52771C is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.3% C 0.125 H 129.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#52771C
RGBrgb(82, 119, 28)
HSLhsl(84, 62%, 29%)
HSVhsv(84, 76%, 47%)
CMYKcmyk(31.1%, 0%, 76.5%, 53.3%)
CIE-LABlab(45.73, -27.81, 43.05)
CIE-LCHlch(45.73, 51.25, 122.86°)
OKLaboklab(52.28% -0.0792 0.0962)
OKLCHoklch(52.28% 0.125 129.5)
XYZxyz(10.2861, 15.0710, 3.4654)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52771C #411C77
analogous
#776F1C #52771C #24771C
triadic
#52771C #1C5277 #771C52
tetradic
#52771C #1C776F #411C77 #771C24
square
#52771C #1C776F #411C77 #771C24
split-complementary
#52771C #1C2477 #6F1C77
monochromatic
#111906 #304510 #52771C #74A928 #95D13C

Accessibility & contrast

On white

5.23
#52771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#52771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52771C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52771C#FFFFFF#000000##FFFFFF
##52771C1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0A
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#547265
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #52771c;
/* rgb */ color: rgb(82, 119, 28);
/* oklch */ color: oklch(52.3% 0.125 129.5);
Tailwind
colors: {
  custom: {
    50: '#869e5f',
    500: '#52771c',
    950: '#000000',
  },
}
SCSS
$custom: #52771c;
$custom-light: #869e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#52771c",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 84.396,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52277,
    "c": 0.12463,
    "h": 129.5
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#52771C
secondary
#6E44AB
accent
#43E585
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52771C

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

Preview Lab → · Contrast checker → · Palette generator →

#52771C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva