#52681C#52681C

#52681C is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.104 H 124.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#52681C
RGBrgb(82, 104, 28)
HSLhsl(77, 58%, 26%)
HSVhsv(77, 73%, 41%)
CMYKcmyk(21.2%, 0%, 73.1%, 59.2%)
CIE-LABlab(40.86, -20.28, 38.20)
CIE-LCHlch(40.86, 43.24, 117.96°)
OKLaboklab(48.33% -0.0586 0.086)
OKLCHoklch(48.33% 0.104 124.3)
XYZxyz(8.6397, 11.7782, 2.9166)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52681C #321C68
analogous
#68581C #52681C #2C681C
triadic
#52681C #1C5268 #681C52
tetradic
#52681C #1C6858 #321C68 #681C2C
square
#52681C #1C6858 #321C68 #681C2C
split-complementary
#52681C #1C2C68 #581C68
monochromatic
#131806 #2C380F #52681C #789829 #9EC836

Accessibility & contrast

On white

6.26
#52681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#52681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52681C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52681C#FFFFFF#000000##FFFFFF
##52681C1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6110
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#566359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #52681c;
/* rgb */ color: rgb(82, 104, 28);
/* oklch */ color: oklch(48.3% 0.104 124.3);
Tailwind
colors: {
  custom: {
    50: '#85935d',
    500: '#52681c',
    950: '#000000',
  },
}
SCSS
$custom: #52681c;
$custom-light: #85935d;
$custom-dark: #000000;
JSON
{
  "hex": "#52681c",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 77.368,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48327,
    "c": 0.1041,
    "h": 124.3
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#52681C
secondary
#5D439D
accent
#47E174
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #52681C

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

Preview Lab → · Contrast checker → · Palette generator →

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