#527213#527213

#527213 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.123 H 127.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#527213
RGBrgb(82, 114, 19)
HSLhsl(80, 71%, 26%)
HSVhsv(80, 83%, 45%)
CMYKcmyk(28.1%, 0%, 83.3%, 55.3%)
CIE-LABlab(44.05, -25.88, 44.59)
CIE-LCHlch(44.05, 51.56, 120.13°)
OKLaboklab(50.9% -0.0747 0.0979)
OKLCHoklch(50.9% 0.123 127.3)
XYZxyz(9.6146, 13.8753, 2.7876)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527213 #331372
analogous
#726213 #527213 #227213
triadic
#527213 #135272 #721352
tetradic
#527213 #137262 #331372 #721322
square
#527213 #137262 #331372 #721322
split-complementary
#527213 #132272 #621372
monochromatic
#131A04 #2C3E0A #527213 #78A61C #9DDB25

Accessibility & contrast

On white

5.56
#527213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#527213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527213
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527213#FFFFFF#000000##FFFFFF
##5272131.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#556C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #527213;
/* rgb */ color: rgb(82, 114, 19);
/* oklch */ color: oklch(50.9% 0.123 127.3);
Tailwind
colors: {
  custom: {
    50: '#869a5a',
    500: '#527213',
    950: '#000000',
  },
}
SCSS
$custom: #527213;
$custom-light: #869a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#527213",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 80.211,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.12315,
    "h": 127.3
  },
  "luminance": 0.13875
}

Semantic roles & 50–950 ramp

primary
#527213
secondary
#5E38A9
accent
#3AEE76
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527213

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

Preview Lab → · Contrast checker → · Palette generator →

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