#52681D#52681D

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

Color values

HEX#52681D
RGBrgb(82, 104, 29)
HSLhsl(78, 56%, 26%)
HSVhsv(78, 72%, 41%)
CMYKcmyk(21.2%, 0%, 72.1%, 59.2%)
CIE-LABlab(40.87, -20.21, 37.77)
CIE-LCHlch(40.87, 42.84, 118.14°)
OKLaboklab(48.34% -0.0583 0.0853)
OKLCHoklch(48.34% 0.103 124.4)
XYZxyz(8.6518, 11.7831, 2.9807)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52681D #331D68
analogous
#68581D #52681D #2C681D
triadic
#52681D #1D5268 #681D52
tetradic
#52681D #1D6858 #331D68 #681D2C
square
#52681D #1D6858 #331D68 #681D2C
split-complementary
#52681D #1D2C68 #581D68
monochromatic
#131807 #2C3810 #52681D #78982A #9DC738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52681D#FFFFFF#000000##FFFFFF
##52681D1.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)
#6E6112
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#566359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #52681d;
/* rgb */ color: rgb(82, 104, 29);
/* oklch */ color: oklch(48.3% 0.103 124.4);
Tailwind
colors: {
  custom: {
    50: '#85935e',
    500: '#52681d',
    950: '#000000',
  },
}
SCSS
$custom: #52681d;
$custom-light: #85935e;
$custom-dark: #000000;
JSON
{
  "hex": "#52681d",
  "rgb": {
    "r": 82,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 77.6,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.10334,
    "h": 124.4
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#52681D
secondary
#5E449D
accent
#48E075
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #52681D

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

Preview Lab → · Contrast checker → · Palette generator →

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