#52901F#52901F

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

Color values

HEX#52901F
RGBrgb(82, 144, 31)
HSLhsl(93, 65%, 34%)
HSVhsv(93, 78%, 56%)
CMYKcmyk(43.1%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.86, -38.94, 49.84)
CIE-LCHlch(53.86, 63.25, 128.00°)
OKLaboklab(58.92% -0.1091 0.1109)
OKLCHoklch(58.92% 0.156 134.5)
XYZxyz(13.7000, 21.8385, 4.7894)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52901F #5D1F90
analogous
#8B901F #52901F #1F9024
triadic
#52901F #1F5290 #901F52
tetradic
#52901F #1F8B90 #5D1F90 #90241F
square
#52901F #1F8B90 #5D1F90 #90241F
split-complementary
#52901F #241F90 #901F8B
monochromatic
#192B09 #355E14 #52901F #6FC22A #8ED950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52901F#FFFFFF#000000##000000
##52901F1.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)
#968402
Deuteranopia (green-blind)
#8D7F2B
Tritanopia (blue-blind)
#518A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #52901f;
/* rgb */ color: rgb(82, 144, 31);
/* oklch */ color: oklch(58.9% 0.156 134.5);
Tailwind
colors: {
  custom: {
    50: '#88b164',
    500: '#52901f',
    950: '#000000',
  },
}
SCSS
$custom: #52901f;
$custom-light: #88b164;
$custom-dark: #000000;
JSON
{
  "hex": "#52901f",
  "rgb": {
    "r": 82,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 92.92,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.15559,
    "h": 134.5
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#52901F
secondary
#8B4EBC
accent
#40E89C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52901F

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

Preview Lab → · Contrast checker → · Palette generator →

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