#52901C#52901C

#52901C is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 58.9% C 0.157 H 134.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#52901C
RGBrgb(82, 144, 28)
HSLhsl(92, 67%, 34%)
HSVhsv(92, 81%, 56%)
CMYKcmyk(43.1%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.84, -39.11, 50.80)
CIE-LCHlch(53.84, 64.11, 127.59°)
OKLaboklab(58.9% -0.1098 0.1125)
OKLCHoklch(58.9% 0.157 134.3)
XYZxyz(13.6623, 21.8234, 4.5908)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52901C #5A1C90
analogous
#8C901C #52901C #1C9020
triadic
#52901C #1C5290 #901C52
tetradic
#52901C #1C8C90 #5A1C90 #90201C
square
#52901C #1C8C90 #5A1C90 #90201C
split-complementary
#52901C #201C90 #901C8C
monochromatic
#182A08 #355D12 #52901C #6FC326 #8EDC4A

Accessibility & contrast

On white

3.91
#52901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#52901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52901C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52901C#FFFFFF#000000##000000
##52901C1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#518A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #52901c;
/* rgb */ color: rgb(82, 144, 28);
/* oklch */ color: oklch(58.9% 0.157 134.3);
Tailwind
colors: {
  custom: {
    50: '#89b163',
    500: '#52901c',
    950: '#000000',
  },
}
SCSS
$custom: #52901c;
$custom-light: #89b163;
$custom-dark: #000000;
JSON
{
  "hex": "#52901c",
  "rgb": {
    "r": 82,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 92.069,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58901,
    "c": 0.15716,
    "h": 134.3
  },
  "luminance": 0.21824
}

Semantic roles & 50–950 ramp

primary
#52901C
secondary
#884ABE
accent
#3DEA9A
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52901C

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

Preview Lab → · Contrast checker → · Palette generator →

#52901C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva