#52912D#52912D

#52912D is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.3% C 0.148 H 136.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#52912D
RGBrgb(82, 145, 45)
HSLhsl(98, 53%, 37%)
HSVhsv(98, 69%, 57%)
CMYKcmyk(43.4%, 0%, 69%, 43.1%)
CIE-LABlab(54.27, -38.35, 44.92)
CIE-LCHlch(54.27, 59.07, 130.49°)
OKLaboklab(59.29% -0.1065 0.1027)
OKLCHoklch(59.29% 0.148 136.1)
XYZxyz(14.0784, 22.2333, 6.0318)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52912D #6C2D91
analogous
#84912D #52912D #2D913A
triadic
#52912D #2D5291 #912D52
tetradic
#52912D #2D8491 #6C2D91 #913A2D
square
#52912D #2D8491 #6C2D91 #913A2D
split-complementary
#52912D #3A2D91 #912D84
monochromatic
#1D3410 #38621F #52912D #6CC03B #8FD068

Accessibility & contrast

On white

3.86
#52912D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#52912D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52912D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52912D#FFFFFF#000000##000000
##52912D1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851F
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#508C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #52912d;
/* rgb */ color: rgb(82, 145, 45);
/* oklch */ color: oklch(59.3% 0.148 136.1);
Tailwind
colors: {
  custom: {
    50: '#88b26b',
    500: '#52912d',
    950: '#000000',
  },
}
SCSS
$custom: #52912d;
$custom-light: #88b26b;
$custom-dark: #000000;
JSON
{
  "hex": "#52912d",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 97.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59293,
    "c": 0.14794,
    "h": 136.1
  },
  "luminance": 0.22234
}

Semantic roles & 50–950 ramp

primary
#52912D
secondary
#9863B7
accent
#4CDCA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #52912D

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

Preview Lab → · Contrast checker → · Palette generator →

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