#527E18#527E18

#527E18 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.136 H 130.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#527E18
RGBrgb(82, 126, 24)
HSLhsl(86, 68%, 29%)
HSVhsv(86, 81%, 49%)
CMYKcmyk(34.9%, 0%, 81%, 50.6%)
CIE-LABlab(47.98, -31.35, 46.62)
CIE-LCHlch(47.98, 56.18, 123.92°)
OKLaboklab(54.1% -0.0891 0.103)
OKLCHoklch(54.1% 0.136 130.9)
XYZxyz(11.1053, 16.7811, 3.5179)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527E18 #44187E
analogous
#7E7718 #527E18 #1F7E18
triadic
#527E18 #18527E #7E1852
tetradic
#527E18 #187E77 #44187E #7E181F
square
#527E18 #187E77 #44187E #7E181F
split-complementary
#527E18 #181F7E #77187E
monochromatic
#111A05 #314B0E #527E18 #73B122 #93D937

Accessibility & contrast

On white

4.82
#527E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#527E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527E18
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527E18#FFFFFF#000000##FFFFFF
##527E181.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#54786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #527e18;
/* rgb */ color: rgb(82, 126, 24);
/* oklch */ color: oklch(54.1% 0.136 130.9);
Tailwind
colors: {
  custom: {
    50: '#87a35e',
    500: '#527e18',
    950: '#000000',
  },
}
SCSS
$custom: #527e18;
$custom-light: #87a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#527e18",
  "rgb": {
    "r": 82,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 85.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.13622,
    "h": 130.9
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#527E18
secondary
#713FB2
accent
#3DEB88
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527E18

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

Preview Lab → · Contrast checker → · Palette generator →

#527E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva