#52701E#52701E

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

Color values

HEX#52701E
RGBrgb(82, 112, 30)
HSLhsl(82, 58%, 28%)
HSVhsv(82, 73%, 44%)
CMYKcmyk(26.8%, 0%, 73.2%, 56.1%)
CIE-LABlab(43.47, -24.23, 40.00)
CIE-LCHlch(43.47, 46.77, 121.21°)
OKLaboklab(50.45% -0.0693 0.0901)
OKLCHoklch(50.45% 0.114 127.6)
XYZxyz(9.5082, 13.4757, 3.3282)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52701E #3C1E70
analogous
#70651E #52701E #29701E
triadic
#52701E #1E5270 #701E52
tetradic
#52701E #1E7065 #3C1E70 #701E29
square
#52701E #1E7065 #3C1E70 #701E29
split-complementary
#52701E #1E2970 #651E70
monochromatic
#121806 #2F4011 #52701E #75A02B #97CB3D

Accessibility & contrast

On white

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

On black

3.70
#52701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##52701E#FFFFFF#000000##FFFFFF
##52701E1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766811
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#556B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #52701e;
/* rgb */ color: rgb(82, 112, 30);
/* oklch */ color: oklch(50.4% 0.114 127.6);
Tailwind
colors: {
  custom: {
    50: '#85995f',
    500: '#52701e',
    950: '#000000',
  },
}
SCSS
$custom: #52701e;
$custom-light: #85995f;
$custom-dark: #000000;
JSON
{
  "hex": "#52701e",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 81.951,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.1137,
    "h": 127.6
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#52701E
secondary
#6846A4
accent
#47E17F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52701E

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

Preview Lab → · Contrast checker → · Palette generator →

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