#52901A#52901A

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

Color values

HEX#52901A
RGBrgb(82, 144, 26)
HSLhsl(92, 69%, 33%)
HSVhsv(92, 82%, 56%)
CMYKcmyk(43.1%, 0%, 81.9%, 43.5%)
CIE-LABlab(53.83, -39.22, 51.41)
CIE-LCHlch(53.83, 64.66, 127.34°)
OKLaboklab(58.89% -0.1102 0.1134)
OKLCHoklch(58.89% 0.158 134.2)
XYZxyz(13.6391, 21.8142, 4.4690)
Luminance0.2182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52901A #581A90
analogous
#8D901A #52901A #1A901D
triadic
#52901A #1A5290 #901A52
tetradic
#52901A #1A8D90 #581A90 #901D1A
square
#52901A #1A8D90 #581A90 #901D1A
split-complementary
#52901A #1D1A90 #901A8D
monochromatic
#172807 #345C11 #52901A #70C423 #8EDE47

Accessibility & contrast

On white

3.92
#52901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##52901A#FFFFFF#000000##000000
##52901A1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52901a;
/* rgb */ color: rgb(82, 144, 26);
/* oklch */ color: oklch(58.9% 0.158 134.2);
Tailwind
colors: {
  custom: {
    50: '#89b162',
    500: '#52901a',
    950: '#000000',
  },
}
SCSS
$custom: #52901a;
$custom-light: #89b162;
$custom-dark: #000000;
JSON
{
  "hex": "#52901a",
  "rgb": {
    "r": 82,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 91.525,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.15813,
    "h": 134.2
  },
  "luminance": 0.21815
}

Semantic roles & 50–950 ramp

primary
#52901A
secondary
#8647BF
accent
#3CEC98
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52901A

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

Preview Lab → · Contrast checker → · Palette generator →

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