#527318#527318

#527318 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.2% C 0.122 H 128.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#527318
RGBrgb(82, 115, 24)
HSLhsl(82, 65%, 27%)
HSVhsv(82, 79%, 45%)
CMYKcmyk(28.7%, 0%, 79.1%, 54.9%)
CIE-LABlab(44.41, -26.11, 43.25)
CIE-LCHlch(44.41, 50.52, 121.12°)
OKLaboklab(51.19% -0.0749 0.0959)
OKLCHoklch(51.19% 0.122 128)
XYZxyz(9.7753, 14.1210, 3.0746)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527318 #391873
analogous
#736718 #527318 #257318
triadic
#527318 #185273 #731852
tetradic
#527318 #187367 #391873 #731825
square
#527318 #187367 #391873 #731825
split-complementary
#527318 #182573 #671873
monochromatic
#121905 #2E400D #527318 #76A623 #99D431

Accessibility & contrast

On white

5.49
#527318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#527318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527318
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527318#FFFFFF#000000##FFFFFF
##5273181.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#556D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #527318;
/* rgb */ color: rgb(82, 115, 24);
/* oklch */ color: oklch(51.2% 0.122 128.0);
Tailwind
colors: {
  custom: {
    50: '#869b5d',
    500: '#527318',
    950: '#000000',
  },
}
SCSS
$custom: #527318;
$custom-light: #869b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527318",
  "rgb": {
    "r": 82,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 81.758,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.12173,
    "h": 128
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#527318
secondary
#653FA8
accent
#3FE87D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527318

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

Preview Lab → · Contrast checker → · Palette generator →

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