#52931D#52931D

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

Color values

HEX#52931D
RGBrgb(82, 147, 29)
HSLhsl(93, 67%, 35%)
HSVhsv(93, 80%, 58%)
CMYKcmyk(44.2%, 0%, 80.3%, 42.4%)
CIE-LABlab(54.81, -40.33, 51.40)
CIE-LCHlch(54.81, 65.33, 128.12°)
OKLaboklab(59.7% -0.113 0.1139)
OKLCHoklch(59.7% 0.16 134.8)
XYZxyz(14.1349, 22.7492, 4.8084)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52931D #5E1D93
analogous
#8D931D #52931D #1D9323
triadic
#52931D #1D5293 #931D52
tetradic
#52931D #1D8D93 #5E1D93 #93231D
square
#52931D #1D8D93 #5E1D93 #93231D
split-complementary
#52931D #231D93 #931D8D
monochromatic
#192D09 #356013 #52931D #6FC627 #8EDC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52931D#FFFFFF#000000##000000
##52931D1.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: #52931d;
/* rgb */ color: rgb(82, 147, 29);
/* oklch */ color: oklch(59.7% 0.160 134.8);
Tailwind
colors: {
  custom: {
    50: '#89b364',
    500: '#52931d',
    950: '#000000',
  },
}
SCSS
$custom: #52931d;
$custom-light: #89b364;
$custom-dark: #000000;
JSON
{
  "hex": "#52931d",
  "rgb": {
    "r": 82,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 93.051,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.1604,
    "h": 134.8
  },
  "luminance": 0.2275
}

Semantic roles & 50–950 ramp

primary
#52931D
secondary
#8C4DBF
accent
#3EEA9D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52931D

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

Preview Lab → · Contrast checker → · Palette generator →

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