#52701F#52701F

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

Color values

HEX#52701F
RGBrgb(82, 112, 31)
HSLhsl(82, 57%, 28%)
HSVhsv(82, 72%, 44%)
CMYKcmyk(26.8%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.48, -24.16, 39.59)
CIE-LCHlch(43.48, 46.38, 121.39°)
OKLaboklab(50.45% -0.069 0.0894)
OKLCHoklch(50.45% 0.113 127.7)
XYZxyz(9.5212, 13.4809, 3.3965)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52701F #3D1F70
analogous
#70651F #52701F #2A701F
triadic
#52701F #1F5270 #701F52
tetradic
#52701F #1F7065 #3D1F70 #701F2A
square
#52701F #1F7065 #3D1F70 #701F2A
split-complementary
#52701F #1F2A70 #651F70
monochromatic
#121807 #2F4012 #52701F #75A02C #97CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52701F#FFFFFF#000000##FFFFFF
##52701F1.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)
#766813
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#556B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #52701f;
/* rgb */ color: rgb(82, 112, 31);
/* oklch */ color: oklch(50.5% 0.113 127.7);
Tailwind
colors: {
  custom: {
    50: '#859960',
    500: '#52701f',
    950: '#000000',
  },
}
SCSS
$custom: #52701f;
$custom-light: #859960;
$custom-dark: #000000;
JSON
{
  "hex": "#52701f",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 82.222,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.11297,
    "h": 127.7
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#52701F
secondary
#6947A4
accent
#48E080
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52701F

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

Preview Lab → · Contrast checker → · Palette generator →

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