#527017#527017

#527017 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.118 H 127.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#527017
RGBrgb(82, 112, 23)
HSLhsl(80, 66%, 26%)
HSVhsv(80, 79%, 44%)
CMYKcmyk(26.8%, 0%, 79.5%, 56.1%)
CIE-LABlab(43.42, -24.68, 42.67)
CIE-LCHlch(43.42, 49.29, 120.05°)
OKLaboklab(50.39% -0.0711 0.0946)
OKLCHoklch(50.39% 0.118 127)
XYZxyz(9.4285, 13.4439, 2.9086)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527017 #351770
analogous
#706217 #527017 #267017
triadic
#527017 #175270 #701752
tetradic
#527017 #177062 #351770 #701726
square
#527017 #177062 #351770 #701726
split-complementary
#527017 #172670 #621770
monochromatic
#131905 #2D3D0D #527017 #77A321 #9CD42D

Accessibility & contrast

On white

5.69
#527017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#527017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527017
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527017#FFFFFF#000000##FFFFFF
##5270171.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766803
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#566A5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #527017;
/* rgb */ color: rgb(82, 112, 23);
/* oklch */ color: oklch(50.4% 0.118 127.0);
Tailwind
colors: {
  custom: {
    50: '#86995c',
    500: '#527017',
    950: '#000000',
  },
}
SCSS
$custom: #527017;
$custom-light: #86995c;
$custom-dark: #000000;
JSON
{
  "hex": "#527017",
  "rgb": {
    "r": 82,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 80.225,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.11832,
    "h": 127
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#527017
secondary
#603DA6
accent
#3FE978
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527017

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

Preview Lab → · Contrast checker → · Palette generator →

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