#527918#527918

#527918 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.130 H 129.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#527918
RGBrgb(82, 121, 24)
HSLhsl(84, 67%, 28%)
HSVhsv(84, 80%, 47%)
CMYKcmyk(32.2%, 0%, 80.2%, 52.5%)
CIE-LABlab(46.36, -29.01, 45.09)
CIE-LCHlch(46.36, 53.62, 122.75°)
OKLaboklab(52.78% -0.0828 0.0998)
OKLCHoklch(52.78% 0.13 129.7)
XYZxyz(10.4819, 15.5342, 3.3101)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527918 #3F1879
analogous
#796F18 #527918 #217918
triadic
#527918 #185279 #791852
tetradic
#527918 #18796F #3F1879 #791821
square
#527918 #18796F #3F1879 #791821
split-complementary
#527918 #182179 #6F1879
monochromatic
#111A05 #2F460E #527918 #75AC22 #96D735

Accessibility & contrast

On white

5.11
#527918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#527918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527918
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527918#FFFFFF#000000##FFFFFF
##5279181.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#547367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #527918;
/* rgb */ color: rgb(82, 121, 24);
/* oklch */ color: oklch(52.8% 0.130 129.7);
Tailwind
colors: {
  custom: {
    50: '#86a05e',
    500: '#527918',
    950: '#000000',
  },
}
SCSS
$custom: #527918;
$custom-light: #86a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#527918",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 84.124,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52779,
    "c": 0.12968,
    "h": 129.7
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#527918
secondary
#6C3FAE
accent
#3EEA83
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #527918

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

Preview Lab → · Contrast checker → · Palette generator →

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