#52851A#52851A

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

Color values

HEX#52851A
RGBrgb(82, 133, 26)
HSLhsl(89, 67%, 31%)
HSVhsv(89, 80%, 52%)
CMYKcmyk(38.3%, 0%, 80.5%, 47.8%)
CIE-LABlab(50.27, -34.43, 48.10)
CIE-LCHlch(50.27, 59.15, 125.59°)
OKLaboklab(55.97% -0.0973 0.1065)
OKLCHoklch(55.97% 0.144 132.4)
XYZxyz(12.0535, 18.6429, 3.9404)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52851A #4D1A85
analogous
#85821A #52851A #1C851A
triadic
#52851A #1A5285 #851A52
tetradic
#52851A #1A8582 #4D1A85 #851A1C
square
#52851A #1A8582 #4D1A85 #851A1C
split-complementary
#52851A #1A1C85 #821A85
monochromatic
#131F06 #325210 #52851A #72B824 #90DA40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52851A#FFFFFF#000000##000000
##52851A1.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)
#8B7A00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#537F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52851a;
/* rgb */ color: rgb(82, 133, 26);
/* oklch */ color: oklch(56.0% 0.144 132.4);
Tailwind
colors: {
  custom: {
    50: '#87a960',
    500: '#52851a',
    950: '#000000',
  },
}
SCSS
$custom: #52851a;
$custom-light: #87a960;
$custom-dark: #000000;
JSON
{
  "hex": "#52851a",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 88.598,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55973,
    "c": 0.14423,
    "h": 132.4
  },
  "luminance": 0.18643
}

Semantic roles & 50–950 ramp

primary
#52851A
secondary
#7B42B8
accent
#3EEA90
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #52851A

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

Preview Lab → · Contrast checker → · Palette generator →

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