#52981B#52981B

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

Color values

HEX#52981B
RGBrgb(82, 152, 27)
HSLhsl(94, 70%, 35%)
HSVhsv(94, 82%, 60%)
CMYKcmyk(46.1%, 0%, 82.2%, 40.4%)
CIE-LABlab(56.42, -42.50, 53.49)
CIE-LCHlch(56.42, 68.32, 128.47°)
OKLaboklab(61.01% -0.119 0.1179)
OKLCHoklch(61.01% 0.168 135.2)
XYZxyz(14.9054, 24.3285, 4.9472)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52981B #611B98
analogous
#90981B #52981B #1B9823
triadic
#52981B #1B5298 #981B52
tetradic
#52981B #1B9098 #611B98 #98231B
square
#52981B #1B9098 #611B98 #98231B
split-complementary
#52981B #231B98 #981B90
monochromatic
#1A3009 #366412 #52981B #6ECC24 #8EE04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52981B#FFFFFF#000000##000000
##52981B1.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)
#95852A
Tritanopia (blue-blind)
#509281
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #52981b;
/* rgb */ color: rgb(82, 152, 27);
/* oklch */ color: oklch(61.0% 0.168 135.2);
Tailwind
colors: {
  custom: {
    50: '#8ab763',
    500: '#52981b',
    950: '#000000',
  },
}
SCSS
$custom: #52981b;
$custom-light: #8ab763;
$custom-dark: #000000;
JSON
{
  "hex": "#52981b",
  "rgb": {
    "r": 82,
    "g": 152,
    "b": 27
  },
  "hsl": {
    "h": 93.6,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.16751,
    "h": 135.2
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

primary
#52981B
secondary
#8E4DC2
accent
#3BED9F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52981B

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

Preview Lab → · Contrast checker → · Palette generator →

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