#527A18#527A18

#527A18 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.131 H 129.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#527A18
RGBrgb(82, 122, 24)
HSLhsl(84, 67%, 29%)
HSVhsv(84, 80%, 48%)
CMYKcmyk(32.8%, 0%, 80.3%, 52.2%)
CIE-LABlab(46.68, -29.48, 45.40)
CIE-LCHlch(46.68, 54.13, 123.00°)
OKLaboklab(53.04% -0.0841 0.1005)
OKLCHoklch(53.04% 0.131 129.9)
XYZxyz(10.6040, 15.7785, 3.3508)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527A18 #40187A
analogous
#7A7118 #527A18 #217A18
triadic
#527A18 #18527A #7A1852
tetradic
#527A18 #187A71 #40187A #7A1821
square
#527A18 #187A71 #40187A #7A1821
split-complementary
#527A18 #18217A #71187A
monochromatic
#111A05 #30470E #527A18 #74AD22 #95D735

Accessibility & contrast

On white

5.05
#527A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#527A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527A18
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527A18#FFFFFF#000000##FFFFFF
##527A181.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#547468
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #527a18;
/* rgb */ color: rgb(82, 122, 24);
/* oklch */ color: oklch(53.0% 0.131 129.9);
Tailwind
colors: {
  custom: {
    50: '#87a05e',
    500: '#527a18',
    950: '#000000',
  },
}
SCSS
$custom: #527a18;
$custom-light: #87a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#527a18",
  "rgb": {
    "r": 82,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 84.49,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.131,
    "h": 129.9
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#527A18
secondary
#6D3FAF
accent
#3EEA84
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #527A18

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

Preview Lab → · Contrast checker → · Palette generator →

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