#527818#527818

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

Color values

HEX#527818
RGBrgb(82, 120, 24)
HSLhsl(84, 67%, 28%)
HSVhsv(84, 80%, 47%)
CMYKcmyk(31.7%, 0%, 80%, 52.9%)
CIE-LABlab(46.03, -28.53, 44.79)
CIE-LCHlch(46.03, 53.10, 122.50°)
OKLaboklab(52.51% -0.0815 0.0992)
OKLCHoklch(52.51% 0.128 129.4)
XYZxyz(10.3610, 15.2924, 3.2698)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527818 #3E1878
analogous
#786E18 #527818 #227818
triadic
#527818 #185278 #781852
tetradic
#527818 #18786E #3E1878 #781822
square
#527818 #18786E #3E1878 #781822
split-complementary
#527818 #182278 #6E1878
monochromatic
#111A05 #2F450E #527818 #75AB22 #96D634

Accessibility & contrast

On white

5.17
#527818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #527818
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527818#FFFFFF#000000##FFFFFF
##5278181.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #527818;
/* rgb */ color: rgb(82, 120, 24);
/* oklch */ color: oklch(52.5% 0.128 129.4);
Tailwind
colors: {
  custom: {
    50: '#869f5d',
    500: '#527818',
    950: '#000000',
  },
}
SCSS
$custom: #527818;
$custom-light: #869f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527818",
  "rgb": {
    "r": 82,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 83.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.12837,
    "h": 129.4
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#527818
secondary
#6A3FAD
accent
#3EEA82
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #527818

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

Preview Lab → · Contrast checker → · Palette generator →

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