#527A16#527A16

#527A16 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.132 H 129.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#527A16
RGBrgb(82, 122, 22)
HSLhsl(84, 69%, 28%)
HSVhsv(84, 82%, 48%)
CMYKcmyk(32.8%, 0%, 82%, 52.2%)
CIE-LABlab(46.67, -29.59, 46.05)
CIE-LCHlch(46.67, 54.73, 122.72°)
OKLaboklab(53.03% -0.0845 0.1015)
OKLCHoklch(53.03% 0.132 129.8)
XYZxyz(10.5840, 15.7705, 3.2453)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527A16 #3E167A
analogous
#7A7016 #527A16 #207A16
triadic
#527A16 #16527A #7A1652
tetradic
#527A16 #167A70 #3E167A #7A1620
square
#527A16 #167A70 #3E167A #7A1620
split-complementary
#527A16 #16207A #70167A
monochromatic
#111A05 #2F460D #527A16 #75AE1F #96DA31

Accessibility & contrast

On white

5.06
#527A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#527A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527A16
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527A16#FFFFFF#000000##FFFFFF
##527A161.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#547468
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #527a16;
/* rgb */ color: rgb(82, 122, 22);
/* oklch */ color: oklch(53.0% 0.132 129.8);
Tailwind
colors: {
  custom: {
    50: '#87a05d',
    500: '#527a16',
    950: '#000000',
  },
}
SCSS
$custom: #527a16;
$custom-light: #87a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#527a16",
  "rgb": {
    "r": 82,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 84,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.13207,
    "h": 129.8
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#527A16
secondary
#6A3DAF
accent
#3CEC82
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #527A16

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

Preview Lab → · Contrast checker → · Palette generator →

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