#527916#527916

#527916 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.131 H 129.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#527916
RGBrgb(82, 121, 22)
HSLhsl(84, 69%, 28%)
HSVhsv(84, 82%, 47%)
CMYKcmyk(32.2%, 0%, 81.8%, 52.5%)
CIE-LABlab(46.35, -29.11, 45.74)
CIE-LCHlch(46.35, 54.22, 122.47°)
OKLaboklab(52.77% -0.0832 0.1009)
OKLCHoklch(52.77% 0.131 129.5)
XYZxyz(10.4618, 15.5262, 3.2046)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527916 #3D1679
analogous
#796E16 #527916 #217916
triadic
#527916 #165279 #791652
tetradic
#527916 #16796E #3D1679 #791621
square
#527916 #16796E #3D1679 #791621
split-complementary
#527916 #162179 #6E1679
monochromatic
#121A05 #2F450D #527916 #75AD1F #97D930

Accessibility & contrast

On white

5.12
#527916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#527916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527916
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527916#FFFFFF#000000##FFFFFF
##5279161.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#557367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #527916;
/* rgb */ color: rgb(82, 121, 22);
/* oklch */ color: oklch(52.8% 0.131 129.5);
Tailwind
colors: {
  custom: {
    50: '#87a05d',
    500: '#527916',
    950: '#000000',
  },
}
SCSS
$custom: #527916;
$custom-light: #87a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#527916",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 83.636,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.13077,
    "h": 129.5
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#527916
secondary
#693DAE
accent
#3CEC81
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #527916

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

Preview Lab → · Contrast checker → · Palette generator →

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