#52841F#52841F

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

Color values

HEX#52841F
RGBrgb(82, 132, 31)
HSLhsl(90, 62%, 32%)
HSVhsv(90, 77%, 52%)
CMYKcmyk(37.9%, 0%, 76.5%, 48.2%)
CIE-LABlab(49.97, -33.68, 46.08)
CIE-LCHlch(49.97, 57.08, 126.16°)
OKLaboklab(55.74% -0.0949 0.103)
OKLCHoklch(55.74% 0.14 132.7)
XYZxyz(11.9781, 18.3948, 4.2155)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52841F #511F84
analogous
#84841F #52841F #20841F
triadic
#52841F #1F5284 #841F52
tetradic
#52841F #1F8484 #511F84 #841F20
square
#52841F #1F8484 #511F84 #841F20
split-complementary
#52841F #1F2084 #841F84
monochromatic
#142108 #335213 #52841F #71B62B #8FD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52841F#FFFFFF#000000##000000
##52841F1.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)
#8A790A
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#537E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #52841f;
/* rgb */ color: rgb(82, 132, 31);
/* oklch */ color: oklch(55.7% 0.140 132.7);
Tailwind
colors: {
  custom: {
    50: '#87a862',
    500: '#52841f',
    950: '#000000',
  },
}
SCSS
$custom: #52841f;
$custom-light: #87a862;
$custom-dark: #000000;
JSON
{
  "hex": "#52841f",
  "rgb": {
    "r": 82,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 89.703,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.1401,
    "h": 132.7
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#52841F
secondary
#7F48B7
accent
#43E593
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #52841F

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

Preview Lab → · Contrast checker → · Palette generator →

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