#527816#527816

#527816 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.129 H 129.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#527816
RGBrgb(82, 120, 22)
HSLhsl(83, 69%, 28%)
HSVhsv(83, 82%, 47%)
CMYKcmyk(31.7%, 0%, 81.7%, 52.9%)
CIE-LABlab(46.02, -28.64, 45.44)
CIE-LCHlch(46.02, 53.71, 122.22°)
OKLaboklab(52.5% -0.0819 0.1002)
OKLCHoklch(52.5% 0.129 129.3)
XYZxyz(10.3409, 15.2844, 3.1643)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527816 #3C1678
analogous
#786D16 #527816 #217816
triadic
#527816 #165278 #781652
tetradic
#527816 #16786D #3C1678 #781621
square
#527816 #16786D #3C1678 #781621
split-complementary
#527816 #162178 #6D1678
monochromatic
#121A05 #2F440D #527816 #75AC1F #97D92F

Accessibility & contrast

On white

5.18
#527816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#527816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527816
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527816#FFFFFF#000000##FFFFFF
##5278161.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#557266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #527816;
/* rgb */ color: rgb(82, 120, 22);
/* oklch */ color: oklch(52.5% 0.129 129.3);
Tailwind
colors: {
  custom: {
    50: '#869f5d',
    500: '#527816',
    950: '#000000',
  },
}
SCSS
$custom: #527816;
$custom-light: #869f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527816",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 83.265,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.12945,
    "h": 129.3
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#527816
secondary
#683CAD
accent
#3CEC80
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #527816

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

Preview Lab → · Contrast checker → · Palette generator →

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