#52851C#52851C

#52851C is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.143 H 132.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#52851C
RGBrgb(82, 133, 28)
HSLhsl(89, 65%, 32%)
HSVhsv(89, 79%, 52%)
CMYKcmyk(38.3%, 0%, 78.9%, 47.8%)
CIE-LABlab(50.28, -34.31, 47.44)
CIE-LCHlch(50.28, 58.55, 125.88°)
OKLaboklab(55.99% -0.0969 0.1054)
OKLCHoklch(55.99% 0.143 132.6)
XYZxyz(12.0766, 18.6522, 4.0623)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52851C #4F1C85
analogous
#85841C #52851C #1E851C
triadic
#52851C #1C5285 #851C52
tetradic
#52851C #1C8584 #4F1C85 #851C1E
square
#52851C #1C8584 #4F1C85 #851C1E
split-complementary
#52851C #1C1E85 #841C85
monochromatic
#142007 #335211 #52851C #71B827 #90D844

Accessibility & contrast

On white

4.44
#52851C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#52851C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52851C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52851C#FFFFFF#000000##000000
##52851C1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A02
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#537F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52851c;
/* rgb */ color: rgb(82, 133, 28);
/* oklch */ color: oklch(56.0% 0.143 132.6);
Tailwind
colors: {
  custom: {
    50: '#87a961',
    500: '#52851c',
    950: '#000000',
  },
}
SCSS
$custom: #52851c;
$custom-light: #87a961;
$custom-dark: #000000;
JSON
{
  "hex": "#52851c",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 89.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.14315,
    "h": 132.6
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#52851C
secondary
#7D45B8
accent
#40E891
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52851C

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

Preview Lab → · Contrast checker → · Palette generator →

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