#527F1B#527F1B

#527F1B is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.136 H 131.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#527F1B
RGBrgb(82, 127, 27)
HSLhsl(87, 65%, 30%)
HSVhsv(87, 79%, 50%)
CMYKcmyk(35.4%, 0%, 78.7%, 50.2%)
CIE-LABlab(48.32, -31.64, 45.92)
CIE-LCHlch(48.32, 55.77, 124.57°)
OKLaboklab(54.39% -0.0897 0.1021)
OKLCHoklch(54.39% 0.136 131.3)
XYZxyz(11.2668, 17.0513, 3.7343)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527F1B #481B7F
analogous
#7F7A1B #527F1B #207F1B
triadic
#527F1B #1B527F #7F1B52
tetradic
#527F1B #1B7F7A #481B7F #7F1B20
square
#527F1B #1B7F7A #481B7F #7F1B20
split-complementary
#527F1B #1B207F #7A1B7F
monochromatic
#111A06 #314D10 #527F1B #73B126 #92D63E

Accessibility & contrast

On white

4.76
#527F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#527F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527F1B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527F1B#FFFFFF#000000##FFFFFF
##527F1B1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857503
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#54796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #527f1b;
/* rgb */ color: rgb(82, 127, 27);
/* oklch */ color: oklch(54.4% 0.136 131.3);
Tailwind
colors: {
  custom: {
    50: '#87a460',
    500: '#527f1b',
    950: '#000000',
  },
}
SCSS
$custom: #527f1b;
$custom-light: #87a460;
$custom-dark: #000000;
JSON
{
  "hex": "#527f1b",
  "rgb": {
    "r": 82,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 87,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54388,
    "c": 0.13589,
    "h": 131.3
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#527F1B
secondary
#7543B3
accent
#40E88B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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