#52671B#52671B

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

Color values

HEX#52671B
RGBrgb(82, 103, 27)
HSLhsl(77, 58%, 25%)
HSVhsv(77, 74%, 40%)
CMYKcmyk(20.4%, 0%, 73.8%, 59.6%)
CIE-LABlab(40.53, -19.82, 38.28)
CIE-LCHlch(40.53, 43.11, 117.38°)
OKLaboklab(48.06% -0.0575 0.086)
OKLCHoklch(48.06% 0.103 123.7)
XYZxyz(8.5278, 11.5734, 2.8213)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52671B #301B67
analogous
#67561B #52671B #2C671B
triadic
#52671B #1B5267 #671B52
tetradic
#52671B #1B6756 #301B67 #671B2C
square
#52671B #1B6756 #301B67 #671B2C
split-complementary
#52671B #1B2C67 #561B67
monochromatic
#131806 #2B370E #52671B #799728 #9FC834

Accessibility & contrast

On white

6.34
#52671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#52671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52671B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52671B#FFFFFF#000000##FFFFFF
##52671B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52671b;
/* rgb */ color: rgb(82, 103, 27);
/* oklch */ color: oklch(48.1% 0.103 123.7);
Tailwind
colors: {
  custom: {
    50: '#85925d',
    500: '#52671b',
    950: '#000000',
  },
}
SCSS
$custom: #52671b;
$custom-light: #85925d;
$custom-dark: #000000;
JSON
{
  "hex": "#52671b",
  "rgb": {
    "r": 82,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 76.579,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.10347,
    "h": 123.7
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#52671B
secondary
#5B429C
accent
#46E271
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #52671B

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

Preview Lab → · Contrast checker → · Palette generator →

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