#52661B#52661B

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

Color values

HEX#52661B
RGBrgb(82, 102, 27)
HSLhsl(76, 58%, 25%)
HSVhsv(76, 74%, 40%)
CMYKcmyk(19.6%, 0%, 73.5%, 60%)
CIE-LABlab(40.21, -19.30, 37.96)
CIE-LCHlch(40.21, 42.58, 116.95°)
OKLaboklab(47.8% -0.056 0.0854)
OKLCHoklch(47.8% 0.102 123.3)
XYZxyz(8.4290, 11.3757, 2.7884)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52661B #2F1B66
analogous
#66541B #52661B #2C661B
triadic
#52661B #1B5266 #661B52
tetradic
#52661B #1B6654 #2F1B66 #661B2C
square
#52661B #1B6654 #2F1B66 #661B2C
split-complementary
#52661B #1B2C66 #541B66
monochromatic
#131806 #2B360E #52661B #799628 #A0C735

Accessibility & contrast

On white

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

On black

3.28
#52661B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##52661B#FFFFFF#000000##FFFFFF
##52661B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52661b;
/* rgb */ color: rgb(82, 102, 27);
/* oklch */ color: oklch(47.8% 0.102 123.3);
Tailwind
colors: {
  custom: {
    50: '#85915d',
    500: '#52661b',
    950: '#000000',
  },
}
SCSS
$custom: #52661b;
$custom-light: #85915d;
$custom-dark: #000000;
JSON
{
  "hex": "#52661b",
  "rgb": {
    "r": 82,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 76,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47795,
    "c": 0.10209,
    "h": 123.3
  },
  "luminance": 0.11376
}

Semantic roles & 50–950 ramp

primary
#52661B
secondary
#59419B
accent
#46E170
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #52661B

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

Preview Lab → · Contrast checker → · Palette generator →

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