#527A1A#527A1A

#527A1A is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.1% C 0.130 H 130.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#527A1A
RGBrgb(82, 122, 26)
HSLhsl(85, 65%, 29%)
HSVhsv(85, 79%, 48%)
CMYKcmyk(32.8%, 0%, 78.7%, 52.2%)
CIE-LABlab(46.69, -29.37, 44.72)
CIE-LCHlch(46.69, 53.50, 123.29°)
OKLaboklab(53.06% -0.0836 0.0994)
OKLCHoklch(53.06% 0.13 130.1)
XYZxyz(10.6256, 15.7871, 3.4645)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527A1A #421A7A
analogous
#7A721A #527A1A #227A1A
triadic
#527A1A #1A527A #7A1A52
tetradic
#527A1A #1A7A72 #421A7A #7A1A22
square
#527A1A #1A7A72 #421A7A #7A1A22
split-complementary
#527A1A #1A227A #721A7A
monochromatic
#111905 #30480F #527A1A #74AC25 #94D539

Accessibility & contrast

On white

5.05
#527A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#527A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527A1A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527A1A#FFFFFF#000000##FFFFFF
##527A1A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #527a1a;
/* rgb */ color: rgb(82, 122, 26);
/* oklch */ color: oklch(53.1% 0.130 130.1);
Tailwind
colors: {
  custom: {
    50: '#86a05f',
    500: '#527a1a',
    950: '#000000',
  },
}
SCSS
$custom: #527a1a;
$custom-light: #86a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#527a1a",
  "rgb": {
    "r": 82,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 85,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53057,
    "c": 0.12986,
    "h": 130.1
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#527A1A
secondary
#6F41AE
accent
#40E886
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #527A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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