#52701A#52701A

#52701A is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.116 H 127.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#52701A
RGBrgb(82, 112, 26)
HSLhsl(81, 62%, 27%)
HSVhsv(81, 77%, 44%)
CMYKcmyk(26.8%, 0%, 76.8%, 56.1%)
CIE-LABlab(43.44, -24.50, 41.58)
CIE-LCHlch(43.44, 48.26, 120.51°)
OKLaboklab(50.41% -0.0704 0.0928)
OKLCHoklch(50.41% 0.116 127.2)
XYZxyz(9.4603, 13.4566, 3.0760)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52701A #381A70
analogous
#70631A #52701A #27701A
triadic
#52701A #1A5270 #701A52
tetradic
#52701A #1A7063 #381A70 #701A27
square
#52701A #1A7063 #381A70 #701A27
split-complementary
#52701A #1A2770 #631A70
monochromatic
#121906 #2E3E0E #52701A #76A226 #9AD034

Accessibility & contrast

On white

5.69
#52701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#52701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52701A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52701A#FFFFFF#000000##FFFFFF
##52701A1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766809
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#556B5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #52701a;
/* rgb */ color: rgb(82, 112, 26);
/* oklch */ color: oklch(50.4% 0.116 127.2);
Tailwind
colors: {
  custom: {
    50: '#86995d',
    500: '#52701a',
    950: '#000000',
  },
}
SCSS
$custom: #52701a;
$custom-light: #86995d;
$custom-dark: #000000;
JSON
{
  "hex": "#52701a",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 80.93,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.11646,
    "h": 127.2
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#52701A
secondary
#6441A5
accent
#42E57B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #52701A

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

Preview Lab → · Contrast checker → · Palette generator →

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