#52851E#52851E

#52851E is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.142 H 132.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#52851E
RGBrgb(82, 133, 30)
HSLhsl(90, 63%, 32%)
HSVhsv(90, 77%, 52%)
CMYKcmyk(38.3%, 0%, 77.4%, 47.8%)
CIE-LABlab(50.29, -34.19, 46.76)
CIE-LCHlch(50.29, 57.92, 126.18°)
OKLaboklab(56% -0.0964 0.1043)
OKLCHoklch(56% 0.142 132.7)
XYZxyz(12.1014, 18.6621, 4.1926)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52851E #511E85
analogous
#85851E #52851E #1E851E
triadic
#52851E #1E5285 #851E52
tetradic
#52851E #1E8585 #511E85 #851E1E
square
#52851E #1E8585 #511E85 #851E1E
split-complementary
#52851E #1E1E85 #851E85
monochromatic
#142107 #335313 #52851E #71B729 #8FD648

Accessibility & contrast

On white

4.44
#52851E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#52851E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52851E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52851E#FFFFFF#000000##000000
##52851E1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A07
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#537F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52851e;
/* rgb */ color: rgb(82, 133, 30);
/* oklch */ color: oklch(56.0% 0.142 132.7);
Tailwind
colors: {
  custom: {
    50: '#87a962',
    500: '#52851e',
    950: '#000000',
  },
}
SCSS
$custom: #52851e;
$custom-light: #87a962;
$custom-dark: #000000;
JSON
{
  "hex": "#52851e",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 89.709,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55999,
    "c": 0.142,
    "h": 132.7
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#52851E
secondary
#7F47B8
accent
#42E693
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #52851E

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

Preview Lab → · Contrast checker → · Palette generator →

#52851E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva