#52771E#52771E

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

Color values

HEX#52771E
RGBrgb(82, 119, 30)
HSLhsl(85, 60%, 29%)
HSVhsv(85, 75%, 47%)
CMYKcmyk(31.1%, 0%, 74.8%, 53.3%)
CIE-LABlab(45.74, -27.68, 42.29)
CIE-LCHlch(45.74, 50.54, 123.20°)
OKLaboklab(52.29% -0.0787 0.0949)
OKLCHoklch(52.29% 0.123 129.7)
XYZxyz(10.3108, 15.0809, 3.5957)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52771E #431E77
analogous
#77701E #52771E #25771E
triadic
#52771E #1E5277 #771E52
tetradic
#52771E #1E7770 #431E77 #771E25
square
#52771E #1E7770 #431E77 #771E25
split-complementary
#52771E #1E2577 #701E77
monochromatic
#111806 #304612 #52771E #74A82A #94CF40

Accessibility & contrast

On white

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

On black

4.02
#52771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##52771E#FFFFFF#000000##FFFFFF
##52771E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#547266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #52771e;
/* rgb */ color: rgb(82, 119, 30);
/* oklch */ color: oklch(52.3% 0.123 129.7);
Tailwind
colors: {
  custom: {
    50: '#869e60',
    500: '#52771e',
    950: '#000000',
  },
}
SCSS
$custom: #52771e;
$custom-light: #869e60;
$custom-dark: #000000;
JSON
{
  "hex": "#52771e",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 84.944,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.12332,
    "h": 129.7
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

primary
#52771E
secondary
#7046AB
accent
#45E387
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52771E

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

Preview Lab → · Contrast checker → · Palette generator →

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