#52901D#52901D

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

Color values

HEX#52901D
RGBrgb(82, 144, 29)
HSLhsl(92, 66%, 34%)
HSVhsv(92, 80%, 56%)
CMYKcmyk(43.1%, 0%, 79.9%, 43.5%)
CIE-LABlab(53.84, -39.06, 50.49)
CIE-LCHlch(53.84, 63.83, 127.73°)
OKLaboklab(58.91% -0.1096 0.112)
OKLCHoklch(58.91% 0.157 134.4)
XYZxyz(13.6744, 21.8283, 4.6549)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52901D #5B1D90
analogous
#8C901D #52901D #1D9022
triadic
#52901D #1D5290 #901D52
tetradic
#52901D #1D8C90 #5B1D90 #90221D
square
#52901D #1D8C90 #5B1D90 #90221D
split-complementary
#52901D #221D90 #901D8C
monochromatic
#182A08 #355D13 #52901D #6FC327 #8EDB4C

Accessibility & contrast

On white

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

On black

5.37
#52901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52901D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52901D#FFFFFF#000000##000000
##52901D1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52901d;
/* rgb */ color: rgb(82, 144, 29);
/* oklch */ color: oklch(58.9% 0.157 134.4);
Tailwind
colors: {
  custom: {
    50: '#88b163',
    500: '#52901d',
    950: '#000000',
  },
}
SCSS
$custom: #52901d;
$custom-light: #88b163;
$custom-dark: #000000;
JSON
{
  "hex": "#52901d",
  "rgb": {
    "r": 82,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 92.348,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.15665,
    "h": 134.4
  },
  "luminance": 0.21829
}

Semantic roles & 50–950 ramp

primary
#52901D
secondary
#894BBD
accent
#3EE99B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52901D

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

Preview Lab → · Contrast checker → · Palette generator →

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