#52812C#52812C

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

Color values

HEX#52812C
RGBrgb(82, 129, 44)
HSLhsl(93, 49%, 34%)
HSVhsv(93, 66%, 51%)
CMYKcmyk(36.4%, 0%, 65.9%, 49.4%)
CIE-LABlab(49.10, -31.28, 39.80)
CIE-LCHlch(49.10, 50.63, 128.17°)
OKLaboklab(55.06% -0.0873 0.0917)
OKLCHoklch(55.06% 0.127 133.6)
XYZxyz(11.7843, 17.6757, 5.1732)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52812C #5B2C81
analogous
#7D812C #52812C #2C8130
triadic
#52812C #2C5281 #812C52
tetradic
#52812C #2C7D81 #5B2C81 #81302C
square
#52812C #2C7D81 #5B2C81 #81302C
split-complementary
#52812C #302C81 #812C7D
monochromatic
#18260D #35531C #52812C #6FAF3C #8EC85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52812C#FFFFFF#000000##FFFFFF
##52812C1.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)
#867722
Deuteranopia (green-blind)
#807333
Tritanopia (blue-blind)
#527C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52812c;
/* rgb */ color: rgb(82, 129, 44);
/* oklch */ color: oklch(55.1% 0.127 133.6);
Tailwind
colors: {
  custom: {
    50: '#86a669',
    500: '#52812c',
    950: '#000000',
  },
}
SCSS
$custom: #52812c;
$custom-light: #86a669;
$custom-dark: #000000;
JSON
{
  "hex": "#52812c",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 93.176,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.12667,
    "h": 133.6
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#52812C
secondary
#895AAF
accent
#4FD99B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #52812C

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

Preview Lab → · Contrast checker → · Palette generator →

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