#52892F#52892F

#52892F is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.2% C 0.135 H 135.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#52892F
RGBrgb(82, 137, 47)
HSLhsl(97, 49%, 36%)
HSVhsv(97, 66%, 54%)
CMYKcmyk(40.1%, 0%, 65.7%, 46.3%)
CIE-LABlab(51.71, -34.66, 41.29)
CIE-LCHlch(51.71, 53.91, 130.01°)
OKLaboklab(57.2% -0.0963 0.0953)
OKLCHoklch(57.2% 0.135 135.3)
XYZxyz(12.9381, 19.8897, 5.8462)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52892F #662F89
analogous
#7F892F #52892F #2F8939
triadic
#52892F #2F5289 #892F52
tetradic
#52892F #2F7F89 #662F89 #89392F
square
#52892F #2F7F89 #662F89 #89392F
split-complementary
#52892F #392F89 #892F7F
monochromatic
#1B2E10 #375B1F #52892F #6DB73F #8ECB67

Accessibility & contrast

On white

4.22
#52892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#52892F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52892F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52892F#FFFFFF#000000##000000
##52892F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#867A36
Tritanopia (blue-blind)
#518476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #52892f;
/* rgb */ color: rgb(82, 137, 47);
/* oklch */ color: oklch(57.2% 0.135 135.3);
Tailwind
colors: {
  custom: {
    50: '#87ac6c',
    500: '#52892f',
    950: '#000000',
  },
}
SCSS
$custom: #52892f;
$custom-light: #87ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#52892f",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 96.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.13546,
    "h": 135.3
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#52892F
secondary
#9362B2
accent
#4FD8A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52892F

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

Preview Lab → · Contrast checker → · Palette generator →

#52892F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva