#527C18#527C18

#527C18 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.6% C 0.134 H 130.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#527C18
RGBrgb(82, 124, 24)
HSLhsl(85, 68%, 29%)
HSVhsv(85, 81%, 49%)
CMYKcmyk(33.9%, 0%, 80.6%, 51.4%)
CIE-LABlab(47.33, -30.42, 46.01)
CIE-LCHlch(47.33, 55.16, 123.47°)
OKLaboklab(53.57% -0.0866 0.1017)
OKLCHoklch(53.57% 0.134 130.4)
XYZxyz(10.8521, 16.2747, 3.4335)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527C18 #42187C
analogous
#7C7418 #527C18 #207C18
triadic
#527C18 #18527C #7C1852
tetradic
#527C18 #187C74 #42187C #7C1820
square
#527C18 #187C74 #42187C #7C1820
split-complementary
#527C18 #18207C #74187C
monochromatic
#111A05 #30490E #527C18 #74AF22 #94D836

Accessibility & contrast

On white

4.94
#527C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#527C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527C18
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527C18#FFFFFF#000000##FFFFFF
##527C181.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#547669
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #527c18;
/* rgb */ color: rgb(82, 124, 24);
/* oklch */ color: oklch(53.6% 0.134 130.4);
Tailwind
colors: {
  custom: {
    50: '#87a25e',
    500: '#527c18',
    950: '#000000',
  },
}
SCSS
$custom: #527c18;
$custom-light: #87a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#527c18",
  "rgb": {
    "r": 82,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 85.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.13363,
    "h": 130.4
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#527C18
secondary
#6F3FB1
accent
#3DEA86
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527C18

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

Preview Lab → · Contrast checker → · Palette generator →

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