#52671D#52671D

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

Color values

HEX#52671D
RGBrgb(82, 103, 29)
HSLhsl(77, 56%, 26%)
HSVhsv(77, 72%, 40%)
CMYKcmyk(20.4%, 0%, 71.8%, 59.6%)
CIE-LABlab(40.55, -19.68, 37.44)
CIE-LCHlch(40.55, 42.30, 117.73°)
OKLaboklab(48.07% -0.0569 0.0846)
OKLCHoklch(48.07% 0.102 123.9)
XYZxyz(8.5518, 11.5830, 2.9474)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52671D #321D67
analogous
#67571D #52671D #2D671D
triadic
#52671D #1D5267 #671D52
tetradic
#52671D #1D6757 #321D67 #671D2D
square
#52671D #1D6757 #321D67 #671D2D
split-complementary
#52671D #1D2D67 #571D67
monochromatic
#131807 #2C3710 #52671D #78972A #9EC738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52671D#FFFFFF#000000##FFFFFF
##52671D1.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)
#6D6012
Deuteranopia (green-blind)
#6A5F23
Tritanopia (blue-blind)
#566258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #52671d;
/* rgb */ color: rgb(82, 103, 29);
/* oklch */ color: oklch(48.1% 0.102 123.9);
Tailwind
colors: {
  custom: {
    50: '#85925e',
    500: '#52671d',
    950: '#000000',
  },
}
SCSS
$custom: #52671d;
$custom-light: #85925e;
$custom-dark: #000000;
JSON
{
  "hex": "#52671d",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 77.027,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.10195,
    "h": 123.9
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#52671D
secondary
#5D449C
accent
#48DF73
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #52671D

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

Preview Lab → · Contrast checker → · Palette generator →

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