#527216#527216

#527216 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.122 H 127.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#527216
RGBrgb(82, 114, 22)
HSLhsl(81, 68%, 27%)
HSVhsv(81, 81%, 45%)
CMYKcmyk(28.1%, 0%, 80.7%, 55.3%)
CIE-LABlab(44.07, -25.73, 43.63)
CIE-LCHlch(44.07, 50.65, 120.53°)
OKLaboklab(50.91% -0.0741 0.0964)
OKLCHoklch(50.91% 0.122 127.5)
XYZxyz(9.6418, 13.8862, 2.9312)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527216 #361672
analogous
#726416 #527216 #247216
triadic
#527216 #165272 #721652
tetradic
#527216 #167264 #361672 #721624
square
#527216 #167264 #361672 #721624
split-complementary
#527216 #162472 #641672
monochromatic
#121A05 #2D3F0C #527216 #77A520 #9BD62C

Accessibility & contrast

On white

5.56
#527216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#527216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527216
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527216#FFFFFF#000000##FFFFFF
##5272161.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#556C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #527216;
/* rgb */ color: rgb(82, 114, 22);
/* oklch */ color: oklch(50.9% 0.122 127.5);
Tailwind
colors: {
  custom: {
    50: '#869a5c',
    500: '#527216',
    950: '#000000',
  },
}
SCSS
$custom: #527216;
$custom-light: #869a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#527216",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 80.87,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.12156,
    "h": 127.5
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#527216
secondary
#613CA8
accent
#3DEB7A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527216

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

Preview Lab → · Contrast checker → · Palette generator →

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