#52862A#52862A

#52862A is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.4% C 0.135 H 134.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#52862A
RGBrgb(82, 134, 42)
HSLhsl(94, 52%, 35%)
HSVhsv(94, 69%, 53%)
CMYKcmyk(38.8%, 0%, 68.7%, 47.5%)
CIE-LABlab(50.70, -33.76, 42.41)
CIE-LCHlch(50.70, 54.21, 128.51°)
OKLaboklab(56.36% -0.0943 0.097)
OKLCHoklch(56.36% 0.135 134.2)
XYZxyz(12.4225, 19.0106, 5.2049)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52862A #5E2A86
analogous
#80862A #52862A #2A8630
triadic
#52862A #2A5286 #862A52
tetradic
#52862A #2A8086 #5E2A86 #86302A
square
#52862A #2A8086 #5E2A86 #86302A
split-complementary
#52862A #302A86 #862A80
monochromatic
#19290D #35571B #52862A #6FB539 #8ECD5E

Accessibility & contrast

On white

4.37
#52862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#52862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52862A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52862A#FFFFFF#000000##000000
##52862A1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#528173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52862a;
/* rgb */ color: rgb(82, 134, 42);
/* oklch */ color: oklch(56.4% 0.135 134.2);
Tailwind
colors: {
  custom: {
    50: '#87a969',
    500: '#52862a',
    950: '#000000',
  },
}
SCSS
$custom: #52862a;
$custom-light: #87a969;
$custom-dark: #000000;
JSON
{
  "hex": "#52862a",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 93.913,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.13524,
    "h": 134.2
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#52862A
secondary
#8C5AB2
accent
#4CDC9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52862A

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

Preview Lab → · Contrast checker → · Palette generator →

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