#527316#527316

#527316 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.2% C 0.123 H 127.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#527316
RGBrgb(82, 115, 22)
HSLhsl(81, 68%, 27%)
HSVhsv(81, 81%, 45%)
CMYKcmyk(28.7%, 0%, 80.9%, 54.9%)
CIE-LABlab(44.39, -26.22, 43.93)
CIE-LCHlch(44.39, 51.16, 120.83°)
OKLaboklab(51.18% -0.0754 0.097)
OKLCHoklch(51.18% 0.123 127.9)
XYZxyz(9.7552, 14.1130, 2.9690)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527316 #371673
analogous
#736616 #527316 #247316
triadic
#527316 #165273 #731652
tetradic
#527316 #167366 #371673 #731624
square
#527316 #167366 #371673 #731624
split-complementary
#527316 #162473 #661673
monochromatic
#121A05 #2D400C #527316 #77A620 #9AD72D

Accessibility & contrast

On white

5.49
#527316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#527316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527316
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527316#FFFFFF#000000##FFFFFF
##5273161.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#556D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #527316;
/* rgb */ color: rgb(82, 115, 22);
/* oklch */ color: oklch(51.2% 0.123 127.9);
Tailwind
colors: {
  custom: {
    50: '#869b5c',
    500: '#527316',
    950: '#000000',
  },
}
SCSS
$custom: #527316;
$custom-light: #869b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#527316",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 81.29,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51179,
    "c": 0.12288,
    "h": 127.9
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#527316
secondary
#633CA9
accent
#3DEB7B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527316

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

Preview Lab → · Contrast checker → · Palette generator →

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