#52701B#52701B

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

Color values

HEX#52701B
RGBrgb(82, 112, 27)
HSLhsl(81, 61%, 27%)
HSVhsv(81, 76%, 44%)
CMYKcmyk(26.8%, 0%, 75.9%, 56.1%)
CIE-LABlab(43.45, -24.44, 41.19)
CIE-LCHlch(43.45, 47.90, 120.68°)
OKLaboklab(50.42% -0.0701 0.0921)
OKLCHoklch(50.42% 0.116 127.3)
XYZxyz(9.4717, 13.4611, 3.1359)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52701B #391B70
analogous
#70631B #52701B #28701B
triadic
#52701B #1B5270 #701B52
tetradic
#52701B #1B7063 #391B70 #701B28
square
#52701B #1B7063 #391B70 #701B28
split-complementary
#52701B #1B2870 #631B70
monochromatic
#121906 #2E3F0F #52701B #76A127 #99CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #52701b;
/* rgb */ color: rgb(82, 112, 27);
/* oklch */ color: oklch(50.4% 0.116 127.3);
Tailwind
colors: {
  custom: {
    50: '#86995e',
    500: '#52701b',
    950: '#000000',
  },
}
SCSS
$custom: #52701b;
$custom-light: #86995e;
$custom-dark: #000000;
JSON
{
  "hex": "#52701b",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 81.176,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.11579,
    "h": 127.3
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#52701B
secondary
#6542A5
accent
#44E47C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #52701B

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

Preview Lab → · Contrast checker → · Palette generator →

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