#527218#527218

#527218 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.120 H 127.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#527218
RGBrgb(82, 114, 24)
HSLhsl(81, 65%, 27%)
HSVhsv(81, 79%, 45%)
CMYKcmyk(28.1%, 0%, 78.9%, 55.3%)
CIE-LABlab(44.08, -25.62, 42.94)
CIE-LCHlch(44.08, 50.00, 120.82°)
OKLaboklab(50.93% -0.0736 0.0953)
OKLCHoklch(50.93% 0.12 127.7)
XYZxyz(9.6619, 13.8942, 3.0368)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527218 #381872
analogous
#726518 #527218 #257218
triadic
#527218 #185272 #721852
tetradic
#527218 #187265 #381872 #721825
square
#527218 #187265 #381872 #721825
split-complementary
#527218 #182572 #651872
monochromatic
#121905 #2E3F0D #527218 #76A523 #9AD431

Accessibility & contrast

On white

5.56
#527218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#527218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527218
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527218#FFFFFF#000000##FFFFFF
##5272181.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A04
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#556C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #527218;
/* rgb */ color: rgb(82, 114, 24);
/* oklch */ color: oklch(50.9% 0.120 127.7);
Tailwind
colors: {
  custom: {
    50: '#869a5d',
    500: '#527218',
    950: '#000000',
  },
}
SCSS
$custom: #527218;
$custom-light: #869a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527218",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 81.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.1204,
    "h": 127.7
  },
  "luminance": 0.13894
}

Semantic roles & 50–950 ramp

primary
#527218
secondary
#643EA7
accent
#40E87C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527218

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

Preview Lab → · Contrast checker → · Palette generator →

#527218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva