#52812A#52812A

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

Color values

HEX#52812A
RGBrgb(82, 129, 42)
HSLhsl(92, 51%, 34%)
HSVhsv(92, 67%, 51%)
CMYKcmyk(36.4%, 0%, 67.4%, 49.4%)
CIE-LABlab(49.08, -31.46, 40.69)
CIE-LCHlch(49.08, 51.43, 127.72°)
OKLaboklab(55.04% -0.088 0.0933)
OKLCHoklch(55.04% 0.128 133.3)
XYZxyz(11.7477, 17.6610, 4.9800)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52812A #592A81
analogous
#7D812A #52812A #2A812D
triadic
#52812A #2A5281 #812A52
tetradic
#52812A #2A7D81 #592A81 #812D2A
square
#52812A #2A7D81 #592A81 #812D2A
split-complementary
#52812A #2D2A81 #812A7D
monochromatic
#17250C #35531B #52812A #6FAF39 #8ECA5C

Accessibility & contrast

On white

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

On black

4.53
#52812A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##52812A#FFFFFF#000000##FFFFFF
##52812A1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#527C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52812a;
/* rgb */ color: rgb(82, 129, 42);
/* oklch */ color: oklch(55.0% 0.128 133.3);
Tailwind
colors: {
  custom: {
    50: '#86a668',
    500: '#52812a',
    950: '#000000',
  },
}
SCSS
$custom: #52812a;
$custom-light: #86a668;
$custom-dark: #000000;
JSON
{
  "hex": "#52812a",
  "rgb": {
    "r": 82,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 92.414,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.12829,
    "h": 133.3
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#52812A
secondary
#8757AF
accent
#4DDA9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #52812A

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

Preview Lab → · Contrast checker → · Palette generator →

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