#52931C#52931C

#52931C is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.7% C 0.161 H 134.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#52931C
RGBrgb(82, 147, 28)
HSLhsl(93, 68%, 34%)
HSVhsv(93, 81%, 58%)
CMYKcmyk(44.2%, 0%, 81%, 42.4%)
CIE-LABlab(54.81, -40.38, 51.71)
CIE-LCHlch(54.81, 65.60, 127.99°)
OKLaboklab(59.7% -0.1132 0.1143)
OKLCHoklch(59.7% 0.161 134.7)
XYZxyz(14.1227, 22.7443, 4.7443)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52931C #5D1C93
analogous
#8E931C #52931C #1C9322
triadic
#52931C #1C5293 #931C52
tetradic
#52931C #1C8E93 #5D1C93 #93221C
square
#52931C #1C8E93 #5D1C93 #93221C
split-complementary
#52931C #221C93 #931C8E
monochromatic
#192C08 #356012 #52931C #6FC626 #8EDD4C

Accessibility & contrast

On white

3.78
#52931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#52931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52931C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52931C#FFFFFF#000000##000000
##52931C1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#518D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #52931c;
/* rgb */ color: rgb(82, 147, 28);
/* oklch */ color: oklch(59.7% 0.161 134.7);
Tailwind
colors: {
  custom: {
    50: '#89b363',
    500: '#52931c',
    950: '#000000',
  },
}
SCSS
$custom: #52931c;
$custom-light: #89b363;
$custom-dark: #000000;
JSON
{
  "hex": "#52931c",
  "rgb": {
    "r": 82,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 92.773,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.1609,
    "h": 134.7
  },
  "luminance": 0.22745
}

Semantic roles & 50–950 ramp

primary
#52931C
secondary
#8B4CBF
accent
#3DEB9C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52931C

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

Preview Lab → · Contrast checker → · Palette generator →

#52931C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva