#527722#527722

#527722 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.3% C 0.120 H 130.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#527722
RGBrgb(82, 119, 34)
HSLhsl(86, 56%, 30%)
HSVhsv(86, 71%, 47%)
CMYKcmyk(31.1%, 0%, 71.4%, 53.3%)
CIE-LABlab(45.77, -27.39, 40.68)
CIE-LCHlch(45.77, 49.04, 123.95°)
OKLaboklab(52.33% -0.0776 0.0922)
OKLCHoklch(52.33% 0.12 130.1)
XYZxyz(10.3652, 15.1027, 3.8821)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527722 #472277
analogous
#777222 #527722 #277722
triadic
#527722 #225277 #772252
tetradic
#527722 #227772 #472277 #772227
square
#527722 #227772 #472277 #772227
split-complementary
#527722 #222777 #722277
monochromatic
#101807 #314714 #527722 #73A730 #92CB49

Accessibility & contrast

On white

5.22
#527722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#527722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527722
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527722#FFFFFF#000000##FFFFFF
##5277221.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#547266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #527722;
/* rgb */ color: rgb(82, 119, 34);
/* oklch */ color: oklch(52.3% 0.120 130.1);
Tailwind
colors: {
  custom: {
    50: '#869e62',
    500: '#527722',
    950: '#000000',
  },
}
SCSS
$custom: #527722;
$custom-light: #869e62;
$custom-dark: #000000;
JSON
{
  "hex": "#527722",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 86.118,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.12048,
    "h": 130.1
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#527722
secondary
#744BAA
accent
#49DF8A
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #527722

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

Preview Lab → · Contrast checker → · Palette generator →

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