#52812D#52812D

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

Color values

HEX#52812D
RGBrgb(82, 129, 45)
HSLhsl(94, 48%, 34%)
HSVhsv(94, 65%, 51%)
CMYKcmyk(36.4%, 0%, 65.1%, 49.4%)
CIE-LABlab(49.11, -31.19, 39.36)
CIE-LCHlch(49.11, 50.22, 128.40°)
OKLaboklab(55.07% -0.087 0.0909)
OKLCHoklch(55.07% 0.126 133.7)
XYZxyz(11.8034, 17.6833, 5.2734)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52812D #5C2D81
analogous
#7C812D #52812D #2D8132
triadic
#52812D #2D5281 #812D52
tetradic
#52812D #2D7C81 #5C2D81 #81322D
square
#52812D #2D7C81 #5C2D81 #81322D
split-complementary
#52812D #322D81 #812D7C
monochromatic
#18260D #35541D #52812D #6FAE3D #8EC861

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52812D#FFFFFF#000000##FFFFFF
##52812D1.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)
#867723
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#527C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52812d;
/* rgb */ color: rgb(82, 129, 45);
/* oklch */ color: oklch(55.1% 0.126 133.7);
Tailwind
colors: {
  custom: {
    50: '#86a66a',
    500: '#52812d',
    950: '#000000',
  },
}
SCSS
$custom: #52812d;
$custom-light: #86a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#52812d",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 93.571,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55073,
    "c": 0.12584,
    "h": 133.7
  },
  "luminance": 0.17684
}

Semantic roles & 50–950 ramp

primary
#52812D
secondary
#8A5CAE
accent
#50D89C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52812D

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

Preview Lab → · Contrast checker → · Palette generator →

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