#527018#527018

#527018 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.118 H 127.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#527018
RGBrgb(82, 112, 24)
HSLhsl(80, 65%, 27%)
HSVhsv(80, 79%, 44%)
CMYKcmyk(26.8%, 0%, 78.6%, 56.1%)
CIE-LABlab(43.43, -24.63, 42.31)
CIE-LCHlch(43.43, 48.96, 120.20°)
OKLaboklab(50.4% -0.0709 0.094)
OKLCHoklch(50.4% 0.118 127)
XYZxyz(9.4387, 13.4479, 2.9624)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527018 #361870
analogous
#706218 #527018 #267018
triadic
#527018 #185270 #701852
tetradic
#527018 #187062 #361870 #701826
square
#527018 #187062 #361870 #701826
split-complementary
#527018 #182670 #621870
monochromatic
#121905 #2D3E0D #527018 #77A223 #9BD330

Accessibility & contrast

On white

5.69
#527018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#527018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527018
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527018#FFFFFF#000000##FFFFFF
##5270181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766805
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#556A5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #527018;
/* rgb */ color: rgb(82, 112, 24);
/* oklch */ color: oklch(50.4% 0.118 127.0);
Tailwind
colors: {
  custom: {
    50: '#86995c',
    500: '#527018',
    950: '#000000',
  },
}
SCSS
$custom: #527018;
$custom-light: #86995c;
$custom-dark: #000000;
JSON
{
  "hex": "#527018",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 80.455,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.11772,
    "h": 127
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#527018
secondary
#613EA5
accent
#40E879
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527018

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

Preview Lab → · Contrast checker → · Palette generator →

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