#52701C#52701C

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

Color values

HEX#52701C
RGBrgb(82, 112, 28)
HSLhsl(81, 60%, 27%)
HSVhsv(81, 75%, 44%)
CMYKcmyk(26.8%, 0%, 75%, 56.1%)
CIE-LABlab(43.46, -24.37, 40.81)
CIE-LCHlch(43.46, 47.53, 120.85°)
OKLaboklab(50.43% -0.0699 0.0915)
OKLCHoklch(50.43% 0.115 127.4)
XYZxyz(9.4835, 13.4658, 3.1979)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52701C #3A1C70
analogous
#70641C #52701C #28701C
triadic
#52701C #1C5270 #701C52
tetradic
#52701C #1C7064 #3A1C70 #701C28
square
#52701C #1C7064 #3A1C70 #701C28
split-complementary
#52701C #1C2870 #641C70
monochromatic
#121806 #2E3F10 #52701C #76A128 #98CD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52701C#FFFFFF#000000##FFFFFF
##52701C1.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)
#76680D
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#556B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #52701c;
/* rgb */ color: rgb(82, 112, 28);
/* oklch */ color: oklch(50.4% 0.115 127.4);
Tailwind
colors: {
  custom: {
    50: '#86995e',
    500: '#52701c',
    950: '#000000',
  },
}
SCSS
$custom: #52701c;
$custom-light: #86995e;
$custom-dark: #000000;
JSON
{
  "hex": "#52701c",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 81.429,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50429,
    "c": 0.11511,
    "h": 127.4
  },
  "luminance": 0.13466
}

Semantic roles & 50–950 ramp

primary
#52701C
secondary
#6643A5
accent
#45E37D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52701C

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

Preview Lab → · Contrast checker → · Palette generator →

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