#527817#527817

#527817 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.129 H 129.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#527817
RGBrgb(82, 120, 23)
HSLhsl(84, 68%, 28%)
HSVhsv(84, 81%, 47%)
CMYKcmyk(31.7%, 0%, 80.8%, 52.9%)
CIE-LABlab(46.03, -28.58, 45.12)
CIE-LCHlch(46.03, 53.41, 122.36°)
OKLaboklab(52.51% -0.0817 0.0997)
OKLCHoklch(52.51% 0.129 129.3)
XYZxyz(10.3508, 15.2883, 3.2160)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527817 #3D1778
analogous
#786D17 #527817 #227817
triadic
#527817 #175278 #781752
tetradic
#527817 #17786D #3D1778 #781722
square
#527817 #17786D #3D1778 #781722
split-complementary
#527817 #172278 #6D1778
monochromatic
#121A05 #2F450D #527817 #75AB21 #97D832

Accessibility & contrast

On white

5.18
#527817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#527817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527817
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527817#FFFFFF#000000##FFFFFF
##5278171.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#557266
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #527817;
/* rgb */ color: rgb(82, 120, 23);
/* oklch */ color: oklch(52.5% 0.129 129.3);
Tailwind
colors: {
  custom: {
    50: '#869f5d',
    500: '#527817',
    950: '#000000',
  },
}
SCSS
$custom: #527817;
$custom-light: #869f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527817",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 83.505,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.12892,
    "h": 129.3
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#527817
secondary
#693EAD
accent
#3DEB81
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #527817

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

Preview Lab → · Contrast checker → · Palette generator →

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