#52981D#52981D

#52981D is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.0% C 0.167 H 135.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#52981D
RGBrgb(82, 152, 29)
HSLhsl(94, 68%, 35%)
HSVhsv(94, 81%, 60%)
CMYKcmyk(46.1%, 0%, 80.9%, 40.4%)
CIE-LABlab(56.42, -42.40, 52.90)
CIE-LCHlch(56.42, 67.80, 128.71°)
OKLaboklab(61.02% -0.1186 0.117)
OKLCHoklch(61.02% 0.167 135.4)
XYZxyz(14.9293, 24.3381, 5.0732)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52981D #631D98
analogous
#90981D #52981D #1D9825
triadic
#52981D #1D5298 #981D52
tetradic
#52981D #1D9098 #631D98 #98251D
square
#52981D #1D9098 #631D98 #98251D
split-complementary
#52981D #251D98 #981D90
monochromatic
#1B3109 #366513 #52981D #6ECB27 #8EDE52

Accessibility & contrast

On white

3.58
#52981D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#52981D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52981D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52981D#FFFFFF#000000##000000
##52981D1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#95852B
Tritanopia (blue-blind)
#509281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #52981d;
/* rgb */ color: rgb(82, 152, 29);
/* oklch */ color: oklch(61.0% 0.167 135.4);
Tailwind
colors: {
  custom: {
    50: '#89b764',
    500: '#52981d',
    950: '#000000',
  },
}
SCSS
$custom: #52981d;
$custom-light: #89b764;
$custom-dark: #000000;
JSON
{
  "hex": "#52981d",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 94.146,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61024,
    "c": 0.16658,
    "h": 135.4
  },
  "luminance": 0.24339
}

Semantic roles & 50–950 ramp

primary
#52981D
secondary
#9050C1
accent
#3DEBA0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52981D

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

Preview Lab → · Contrast checker → · Palette generator →

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