#527D1B#527D1B

#527D1B is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.9% C 0.133 H 130.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#527D1B
RGBrgb(82, 125, 27)
HSLhsl(86, 64%, 30%)
HSVhsv(86, 78%, 49%)
CMYKcmyk(34.4%, 0%, 78.4%, 51%)
CIE-LABlab(47.67, -30.72, 45.30)
CIE-LCHlch(47.67, 54.73, 124.14°)
OKLaboklab(53.86% -0.0872 0.1008)
OKLCHoklch(53.86% 0.133 130.9)
XYZxyz(11.0110, 16.5398, 3.6490)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527D1B #461B7D
analogous
#7D771B #527D1B #217D1B
triadic
#527D1B #1B527D #7D1B52
tetradic
#527D1B #1B7D77 #461B7D #7D1B21
square
#527D1B #1B7D77 #461B7D #7D1B21
split-complementary
#527D1B #1B217D #771B7D
monochromatic
#111905 #314B10 #527D1B #73AF26 #92D53D

Accessibility & contrast

On white

4.87
#527D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#527D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527D1B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527D1B#FFFFFF#000000##FFFFFF
##527D1B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#54776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #527d1b;
/* rgb */ color: rgb(82, 125, 27);
/* oklch */ color: oklch(53.9% 0.133 130.9);
Tailwind
colors: {
  custom: {
    50: '#87a360',
    500: '#527d1b',
    950: '#000000',
  },
}
SCSS
$custom: #527d1b;
$custom-light: #87a360;
$custom-dark: #000000;
JSON
{
  "hex": "#527d1b",
  "rgb": {
    "r": 82,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 86.327,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.13325,
    "h": 130.9
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#527D1B
secondary
#7343B1
accent
#40E78A
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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