#52812E#52812E

#52812E is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.125 H 133.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#52812E
RGBrgb(82, 129, 46)
HSLhsl(94, 47%, 34%)
HSVhsv(94, 64%, 51%)
CMYKcmyk(36.4%, 0%, 64.3%, 49.4%)
CIE-LABlab(49.12, -31.09, 38.90)
CIE-LCHlch(49.12, 49.80, 128.63°)
OKLaboklab(55.08% -0.0867 0.0901)
OKLCHoklch(55.08% 0.125 133.9)
XYZxyz(11.8229, 17.6911, 5.3760)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52812E #5D2E81
analogous
#7C812E #52812E #2E8134
triadic
#52812E #2E5281 #812E52
tetradic
#52812E #2E7C81 #5D2E81 #81342E
square
#52812E #2E7C81 #5D2E81 #81342E
split-complementary
#52812E #342E81 #812E7C
monochromatic
#19270E #35541E #52812E #6FAE3E #8EC762

Accessibility & contrast

On white

4.63
#52812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#52812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #52812E
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52812E#FFFFFF#000000##FFFFFF
##52812E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#527C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52812e;
/* rgb */ color: rgb(82, 129, 46);
/* oklch */ color: oklch(55.1% 0.125 133.9);
Tailwind
colors: {
  custom: {
    50: '#86a66a',
    500: '#52812e',
    950: '#000000',
  },
}
SCSS
$custom: #52812e;
$custom-light: #86a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#52812e",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 93.976,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55084,
    "c": 0.12499,
    "h": 133.9
  },
  "luminance": 0.17692
}

Semantic roles & 50–950 ramp

primary
#52812E
secondary
#8B5DAE
accent
#51D79D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52812E

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

Preview Lab → · Contrast checker → · Palette generator →

#52812E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva