#527518#527518

#527518 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.124 H 128.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#527518
RGBrgb(82, 117, 24)
HSLhsl(83, 66%, 28%)
HSVhsv(83, 79%, 46%)
CMYKcmyk(29.9%, 0%, 79.5%, 54.1%)
CIE-LABlab(45.06, -27.09, 43.86)
CIE-LCHlch(45.06, 51.55, 121.70°)
OKLaboklab(51.72% -0.0776 0.0972)
OKLCHoklch(51.72% 0.124 128.6)
XYZxyz(10.0058, 14.5821, 3.1514)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527518 #3B1875
analogous
#756A18 #527518 #237518
triadic
#527518 #185275 #751852
tetradic
#527518 #18756A #3B1875 #751823
square
#527518 #18756A #3B1875 #751823
split-complementary
#527518 #182375 #6A1875
monochromatic
#121905 #2E420E #527518 #76A822 #98D532

Accessibility & contrast

On white

5.36
#527518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#527518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527518
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527518#FFFFFF#000000##FFFFFF
##5275181.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#556F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #527518;
/* rgb */ color: rgb(82, 117, 24);
/* oklch */ color: oklch(51.7% 0.124 128.6);
Tailwind
colors: {
  custom: {
    50: '#869d5d',
    500: '#527518',
    950: '#000000',
  },
}
SCSS
$custom: #527518;
$custom-light: #869d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527518",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 82.581,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.12439,
    "h": 128.6
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#527518
secondary
#673FAA
accent
#3FE97F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #527518

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

Preview Lab → · Contrast checker → · Palette generator →

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