#52841C#52841C

#52841C is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.7% C 0.142 H 132.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#52841C
RGBrgb(82, 132, 28)
HSLhsl(89, 65%, 31%)
HSVhsv(89, 79%, 52%)
CMYKcmyk(37.9%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.95, -33.87, 47.13)
CIE-LCHlch(49.95, 58.04, 125.70°)
OKLaboklab(55.72% -0.0956 0.1048)
OKLCHoklch(55.72% 0.142 132.4)
XYZxyz(11.9404, 18.3797, 4.0169)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52841C #4E1C84
analogous
#84821C #52841C #1E841C
triadic
#52841C #1C5284 #841C52
tetradic
#52841C #1C8482 #4E1C84 #841C1E
square
#52841C #1C8482 #4E1C84 #841C1E
split-complementary
#52841C #1C1E84 #821C84
monochromatic
#131F07 #335211 #52841C #71B627 #90D743

Accessibility & contrast

On white

4.49
#52841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#52841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52841C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52841C#FFFFFF#000000##000000
##52841C1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7903
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#537E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #52841c;
/* rgb */ color: rgb(82, 132, 28);
/* oklch */ color: oklch(55.7% 0.142 132.4);
Tailwind
colors: {
  custom: {
    50: '#87a861',
    500: '#52841c',
    950: '#000000',
  },
}
SCSS
$custom: #52841c;
$custom-light: #87a861;
$custom-dark: #000000;
JSON
{
  "hex": "#52841c",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 88.846,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5572,
    "c": 0.14185,
    "h": 132.4
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#52841C
secondary
#7C45B7
accent
#40E891
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52841C

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

Preview Lab → · Contrast checker → · Palette generator →

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