#52812F#52812F

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

Color values

HEX#52812F
RGBrgb(82, 129, 47)
HSLhsl(94, 47%, 35%)
HSVhsv(94, 64%, 51%)
CMYKcmyk(36.4%, 0%, 63.6%, 49.4%)
CIE-LABlab(49.13, -31.00, 38.45)
CIE-LCHlch(49.13, 49.38, 128.88°)
OKLaboklab(55.1% -0.0863 0.0892)
OKLCHoklch(55.1% 0.124 134.1)
XYZxyz(11.8428, 17.6991, 5.4810)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52812F #5E2F81
analogous
#7B812F #52812F #2F8135
triadic
#52812F #2F5281 #812F52
tetradic
#52812F #2F7B81 #5E2F81 #81352F
square
#52812F #2F7B81 #5E2F81 #81352F
split-complementary
#52812F #352F81 #812F7B
monochromatic
#19270E #35541F #52812F #6FAE3F #8EC664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52812F#FFFFFF#000000##FFFFFF
##52812F1.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)
#867726
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#527C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52812f;
/* rgb */ color: rgb(82, 129, 47);
/* oklch */ color: oklch(55.1% 0.124 134.1);
Tailwind
colors: {
  custom: {
    50: '#86a66b',
    500: '#52812f',
    950: '#000000',
  },
}
SCSS
$custom: #52812f;
$custom-light: #86a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#52812f",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 94.39,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55095,
    "c": 0.12414,
    "h": 134.1
  },
  "luminance": 0.177
}

Semantic roles & 50–950 ramp

primary
#52812F
secondary
#8C5EAD
accent
#52D69E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52812F

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

Preview Lab → · Contrast checker → · Palette generator →

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