#527115#527115

#527115 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.6% C 0.121 H 127.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#527115
RGBrgb(82, 113, 21)
HSLhsl(80, 69%, 26%)
HSVhsv(80, 81%, 44%)
CMYKcmyk(27.4%, 0%, 81.4%, 55.7%)
CIE-LABlab(43.74, -25.29, 43.66)
CIE-LCHlch(43.74, 50.45, 120.08°)
OKLaboklab(50.64% -0.0729 0.0963)
OKLCHoklch(50.64% 0.121 127.1)
XYZxyz(9.5202, 13.6580, 2.8440)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527115 #341571
analogous
#716215 #527115 #247115
triadic
#527115 #155271 #711552
tetradic
#527115 #157162 #341571 #711524
square
#527115 #157162 #341571 #711524
split-complementary
#527115 #152471 #621571
monochromatic
#131A05 #2D3D0B #527115 #77A51F #9DD729

Accessibility & contrast

On white

5.63
#527115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#527115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527115
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527115#FFFFFF#000000##FFFFFF
##5271151.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#556B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #527115;
/* rgb */ color: rgb(82, 113, 21);
/* oklch */ color: oklch(50.6% 0.121 127.1);
Tailwind
colors: {
  custom: {
    50: '#869a5b',
    500: '#527115',
    950: '#000000',
  },
}
SCSS
$custom: #527115;
$custom-light: #869a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#527115",
  "rgb": {
    "r": 82,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 80.217,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.12078,
    "h": 127.1
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#527115
secondary
#5F3BA7
accent
#3CEB77
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527115

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

Preview Lab → · Contrast checker → · Palette generator →

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