#52701D#52701D

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

Color values

HEX#52701D
RGBrgb(82, 112, 29)
HSLhsl(82, 59%, 28%)
HSVhsv(82, 74%, 44%)
CMYKcmyk(26.8%, 0%, 74.1%, 56.1%)
CIE-LABlab(43.46, -24.31, 40.41)
CIE-LCHlch(43.46, 47.15, 121.03°)
OKLaboklab(50.44% -0.0696 0.0908)
OKLCHoklch(50.44% 0.114 127.5)
XYZxyz(9.4956, 13.4707, 3.2620)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52701D #3B1D70
analogous
#70651D #52701D #28701D
triadic
#52701D #1D5270 #701D52
tetradic
#52701D #1D7065 #3B1D70 #701D28
square
#52701D #1D7065 #3B1D70 #701D28
split-complementary
#52701D #1D2870 #651D70
monochromatic
#121806 #2E3F10 #52701D #76A12A #98CC3B

Accessibility & contrast

On white

5.68
#52701D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #52701D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52701D#FFFFFF#000000##FFFFFF
##52701D1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680F
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#556B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #52701d;
/* rgb */ color: rgb(82, 112, 29);
/* oklch */ color: oklch(50.4% 0.114 127.5);
Tailwind
colors: {
  custom: {
    50: '#86995f',
    500: '#52701d',
    950: '#000000',
  },
}
SCSS
$custom: #52701d;
$custom-light: #86995f;
$custom-dark: #000000;
JSON
{
  "hex": "#52701d",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 81.687,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.11442,
    "h": 127.5
  },
  "luminance": 0.13471
}

Semantic roles & 50–950 ramp

primary
#52701D
secondary
#6744A4
accent
#46E27E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52701D

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

Preview Lab → · Contrast checker → · Palette generator →

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