#527F18#527F18

#527F18 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.4% C 0.138 H 131.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#527F18
RGBrgb(82, 127, 24)
HSLhsl(86, 68%, 30%)
HSVhsv(86, 81%, 50%)
CMYKcmyk(35.4%, 0%, 81.1%, 50.2%)
CIE-LABlab(48.31, -31.81, 46.92)
CIE-LCHlch(48.31, 56.69, 124.14°)
OKLaboklab(54.37% -0.0904 0.1037)
OKLCHoklch(54.37% 0.138 131.1)
XYZxyz(11.2338, 17.0381, 3.5608)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527F18 #45187F
analogous
#7F7918 #527F18 #1E7F18
triadic
#527F18 #18527F #7F1852
tetradic
#527F18 #187F79 #45187F #7F181E
square
#527F18 #187F79 #45187F #7F181E
split-complementary
#527F18 #181E7F #79187F
monochromatic
#111A05 #314C0E #527F18 #73B222 #93D938

Accessibility & contrast

On white

4.76
#527F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#527F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527F18
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527F18#FFFFFF#000000##FFFFFF
##527F181.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#54796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #527f18;
/* rgb */ color: rgb(82, 127, 24);
/* oklch */ color: oklch(54.4% 0.138 131.1);
Tailwind
colors: {
  custom: {
    50: '#87a45e',
    500: '#527f18',
    950: '#000000',
  },
}
SCSS
$custom: #527f18;
$custom-light: #87a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#527f18",
  "rgb": {
    "r": 82,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 86.214,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5437,
    "c": 0.13753,
    "h": 131.1
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#527F18
secondary
#723FB3
accent
#3DEB89
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527F18

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

Preview Lab → · Contrast checker → · Palette generator →

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