#52951C#52951C

#52951C is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.2% C 0.163 H 135.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#52951C
RGBrgb(82, 149, 28)
HSLhsl(93, 68%, 35%)
HSVhsv(93, 81%, 58%)
CMYKcmyk(45%, 0%, 81.2%, 41.6%)
CIE-LABlab(55.45, -41.21, 52.30)
CIE-LCHlch(55.45, 66.59, 128.24°)
OKLaboklab(60.22% -0.1154 0.1156)
OKLCHoklch(60.22% 0.163 135)
XYZxyz(14.4364, 23.3717, 4.8489)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52951C #5F1C95
analogous
#8F951C #52951C #1C9522
triadic
#52951C #1C5295 #951C52
tetradic
#52951C #1C8F95 #5F1C95 #95221C
square
#52951C #1C8F95 #5F1C95 #95221C
split-complementary
#52951C #221C95 #951C8F
monochromatic
#192E09 #366112 #52951C #6EC926 #8EDE4E

Accessibility & contrast

On white

3.70
#52951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#52951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52951C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52951C#FFFFFF#000000##000000
##52951C1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#508F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #52951c;
/* rgb */ color: rgb(82, 149, 28);
/* oklch */ color: oklch(60.2% 0.163 135.0);
Tailwind
colors: {
  custom: {
    50: '#89b563',
    500: '#52951c',
    950: '#000000',
  },
}
SCSS
$custom: #52951c;
$custom-light: #89b563;
$custom-dark: #000000;
JSON
{
  "hex": "#52951c",
  "rgb": {
    "r": 82,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 93.223,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.16337,
    "h": 135
  },
  "luminance": 0.23373
}

Semantic roles & 50–950 ramp

primary
#52951C
secondary
#8D4DC0
accent
#3DEB9D
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #52951C

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

Preview Lab → · Contrast checker → · Palette generator →

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