#52661A#52661A

#52661A is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.103 H 123.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#52661A
RGBrgb(82, 102, 26)
HSLhsl(76, 59%, 25%)
HSVhsv(76, 75%, 40%)
CMYKcmyk(19.6%, 0%, 74.5%, 60%)
CIE-LABlab(40.20, -19.36, 38.37)
CIE-LCHlch(40.20, 42.98, 116.78°)
OKLaboklab(47.79% -0.0563 0.086)
OKLCHoklch(47.79% 0.103 123.2)
XYZxyz(8.4176, 11.3711, 2.7285)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52661A #2E1A66
analogous
#66541A #52661A #2C661A
triadic
#52661A #1A5266 #661A52
tetradic
#52661A #1A6654 #2E1A66 #661A2C
square
#52661A #1A6654 #2E1A66 #661A2C
split-complementary
#52661A #1A2C66 #541A66
monochromatic
#141806 #2B350E #52661A #799726 #A0C833

Accessibility & contrast

On white

6.41
#52661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#52661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52661A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52661A#FFFFFF#000000##FFFFFF
##52661A1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0D
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#566157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #52661a;
/* rgb */ color: rgb(82, 102, 26);
/* oklch */ color: oklch(47.8% 0.103 123.2);
Tailwind
colors: {
  custom: {
    50: '#85915c',
    500: '#52661a',
    950: '#000000',
  },
}
SCSS
$custom: #52661a;
$custom-light: #85915c;
$custom-dark: #000000;
JSON
{
  "hex": "#52661a",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 75.789,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47787,
    "c": 0.10283,
    "h": 123.2
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#52661A
secondary
#58409C
accent
#45E36F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #52661A

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

Preview Lab → · Contrast checker → · Palette generator →

#52661A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva