#52671C#52671C

#52671C is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.103 H 123.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#52671C
RGBrgb(82, 103, 28)
HSLhsl(77, 57%, 26%)
HSVhsv(77, 73%, 40%)
CMYKcmyk(20.4%, 0%, 72.8%, 59.6%)
CIE-LABlab(40.54, -19.75, 37.87)
CIE-LCHlch(40.54, 42.71, 117.55°)
OKLaboklab(48.07% -0.0572 0.0853)
OKLCHoklch(48.07% 0.103 123.8)
XYZxyz(8.5396, 11.5781, 2.8833)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52671C #311C67
analogous
#67561C #52671C #2C671C
triadic
#52671C #1C5267 #671C52
tetradic
#52671C #1C6756 #311C67 #671C2C
square
#52671C #1C6756 #311C67 #671C2C
split-complementary
#52671C #1C2C67 #561C67
monochromatic
#131807 #2C370F #52671C #789729 #9FC736

Accessibility & contrast

On white

6.33
#52671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#52671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52671C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52671C#FFFFFF#000000##FFFFFF
##52671C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6010
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#566258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #52671c;
/* rgb */ color: rgb(82, 103, 28);
/* oklch */ color: oklch(48.1% 0.103 123.8);
Tailwind
colors: {
  custom: {
    50: '#85925d',
    500: '#52671c',
    950: '#000000',
  },
}
SCSS
$custom: #52671c;
$custom-light: #85925d;
$custom-dark: #000000;
JSON
{
  "hex": "#52671c",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 76.8,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48065,
    "c": 0.10272,
    "h": 123.8
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#52671C
secondary
#5C439C
accent
#47E172
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #52671C

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

Preview Lab → · Contrast checker → · Palette generator →

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