#52941F#52941F

#52941F is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.0% C 0.161 H 135.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#52941F
RGBrgb(82, 148, 31)
HSLhsl(94, 65%, 35%)
HSVhsv(94, 79%, 58%)
CMYKcmyk(44.6%, 0%, 79.1%, 42%)
CIE-LABlab(55.15, -40.63, 51.07)
CIE-LCHlch(55.15, 65.26, 128.51°)
OKLaboklab(59.98% -0.1137 0.1135)
OKLCHoklch(59.98% 0.161 135.1)
XYZxyz(14.3166, 23.0717, 4.9950)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52941F #611F94
analogous
#8D941F #52941F #1F9426
triadic
#52941F #1F5294 #941F52
tetradic
#52941F #1F8D94 #611F94 #94261F
square
#52941F #1F8D94 #611F94 #94261F
split-complementary
#52941F #261F94 #941F8D
monochromatic
#1A2F0A #366114 #52941F #6EC72A #8EDB53

Accessibility & contrast

On white

3.74
#52941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#52941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52941F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52941F#FFFFFF#000000##000000
##52941F1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#508E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #52941f;
/* rgb */ color: rgb(82, 148, 31);
/* oklch */ color: oklch(60.0% 0.161 135.1);
Tailwind
colors: {
  custom: {
    50: '#89b465',
    500: '#52941f',
    950: '#000000',
  },
}
SCSS
$custom: #52941f;
$custom-light: #89b465;
$custom-dark: #000000;
JSON
{
  "hex": "#52941f",
  "rgb": {
    "r": 82,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 93.846,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.16062,
    "h": 135.1
  },
  "luminance": 0.23073
}

Semantic roles & 50–950 ramp

primary
#52941F
secondary
#8E51BE
accent
#3FE89F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52941F

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

Preview Lab → · Contrast checker → · Palette generator →

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