#52941B#52941B

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

Color values

HEX#52941B
RGBrgb(82, 148, 27)
HSLhsl(93, 69%, 34%)
HSVhsv(93, 82%, 58%)
CMYKcmyk(44.6%, 0%, 81.8%, 42%)
CIE-LABlab(55.13, -40.85, 52.30)
CIE-LCHlch(55.13, 66.36, 127.99°)
OKLaboklab(59.96% -0.1145 0.1154)
OKLCHoklch(59.96% 0.163 134.8)
XYZxyz(14.2671, 23.0520, 4.7344)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52941B #5D1B94
analogous
#8F941B #52941B #1B9420
triadic
#52941B #1B5294 #941B52
tetradic
#52941B #1B8F94 #5D1B94 #94201B
square
#52941B #1B8F94 #5D1B94 #94201B
split-complementary
#52941B #201B94 #941B8F
monochromatic
#192C08 #356012 #52941B #6FC824 #8EDE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52941B#FFFFFF#000000##000000
##52941B1.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)
#918229
Tritanopia (blue-blind)
#518E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #52941b;
/* rgb */ color: rgb(82, 148, 27);
/* oklch */ color: oklch(60.0% 0.163 134.8);
Tailwind
colors: {
  custom: {
    50: '#89b463',
    500: '#52941b',
    950: '#000000',
  },
}
SCSS
$custom: #52941b;
$custom-light: #89b463;
$custom-dark: #000000;
JSON
{
  "hex": "#52941b",
  "rgb": {
    "r": 82,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 92.727,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.16261,
    "h": 134.8
  },
  "luminance": 0.23053
}

Semantic roles & 50–950 ramp

primary
#52941B
secondary
#8B4BC0
accent
#3CEC9C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52941B

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

Preview Lab → · Contrast checker → · Palette generator →

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