#52862B#52862B

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

Color values

HEX#52862B
RGBrgb(82, 134, 43)
HSLhsl(94, 51%, 35%)
HSVhsv(94, 68%, 53%)
CMYKcmyk(38.8%, 0%, 67.9%, 47.5%)
CIE-LABlab(50.71, -33.67, 41.99)
CIE-LCHlch(50.71, 53.82, 128.73°)
OKLaboklab(56.37% -0.0939 0.0962)
OKLCHoklch(56.37% 0.134 134.3)
XYZxyz(12.4406, 19.0179, 5.3004)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52862B #5F2B86
analogous
#7F862B #52862B #2B8632
triadic
#52862B #2B5286 #862B52
tetradic
#52862B #2B7F86 #5F2B86 #86322B
square
#52862B #2B7F86 #5F2B86 #86322B
split-complementary
#52862B #322B86 #862B7F
monochromatic
#19290D #36581C #52862B #6EB43A #8ECC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52862B#FFFFFF#000000##000000
##52862B1.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)
#8B7B1F
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#518173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52862b;
/* rgb */ color: rgb(82, 134, 43);
/* oklch */ color: oklch(56.4% 0.134 134.3);
Tailwind
colors: {
  custom: {
    50: '#87a969',
    500: '#52862b',
    950: '#000000',
  },
}
SCSS
$custom: #52862b;
$custom-light: #87a969;
$custom-dark: #000000;
JSON
{
  "hex": "#52862b",
  "rgb": {
    "r": 82,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 94.286,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.13447,
    "h": 134.3
  },
  "luminance": 0.19018
}

Semantic roles & 50–950 ramp

primary
#52862B
secondary
#8D5BB2
accent
#4DDB9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52862B

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

Preview Lab → · Contrast checker → · Palette generator →

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