#52862F#52862F

#52862F is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.4% C 0.131 H 134.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#52862F
RGBrgb(82, 134, 47)
HSLhsl(96, 48%, 35%)
HSVhsv(96, 65%, 53%)
CMYKcmyk(38.8%, 0%, 64.9%, 47.5%)
CIE-LABlab(50.74, -33.30, 40.23)
CIE-LCHlch(50.74, 52.23, 129.62°)
OKLaboklab(56.41% -0.0926 0.093)
OKLCHoklch(56.41% 0.131 134.9)
XYZxyz(12.5176, 19.0487, 5.7060)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52862F #632F86
analogous
#7D862F #52862F #2F8637
triadic
#52862F #2F5286 #862F52
tetradic
#52862F #2F7D86 #632F86 #86372F
square
#52862F #2F7D86 #632F86 #86372F
split-complementary
#52862F #372F86 #862F7D
monochromatic
#1B2B0F #36591F #52862F #6EB33F #8EC966

Accessibility & contrast

On white

4.37
#52862F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#52862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52862F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52862F#FFFFFF#000000##000000
##52862F1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C25
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#518174
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52862f;
/* rgb */ color: rgb(82, 134, 47);
/* oklch */ color: oklch(56.4% 0.131 134.9);
Tailwind
colors: {
  custom: {
    50: '#86a96b',
    500: '#52862f',
    950: '#000000',
  },
}
SCSS
$custom: #52862f;
$custom-light: #86a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#52862f",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 95.862,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56412,
    "c": 0.13125,
    "h": 134.9
  },
  "luminance": 0.19049
}

Semantic roles & 50–950 ramp

primary
#52862F
secondary
#9060B0
accent
#50D8A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #52862F

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

Preview Lab → · Contrast checker → · Palette generator →

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