#527418#527418

#527418 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.123 H 128.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#527418
RGBrgb(82, 116, 24)
HSLhsl(82, 66%, 27%)
HSVhsv(82, 79%, 45%)
CMYKcmyk(29.3%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.73, -26.60, 43.55)
CIE-LCHlch(44.73, 51.03, 121.41°)
OKLaboklab(51.46% -0.0763 0.0966)
OKLCHoklch(51.46% 0.123 128.3)
XYZxyz(9.8899, 14.3503, 3.1128)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527418 #3A1874
analogous
#746818 #527418 #247418
triadic
#527418 #185274 #741852
tetradic
#527418 #187468 #3A1874 #741824
square
#527418 #187468 #3A1874 #741824
split-complementary
#527418 #182474 #681874
monochromatic
#121905 #2E410E #527418 #76A722 #98D532

Accessibility & contrast

On white

5.43
#527418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#527418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527418
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527418#FFFFFF#000000##FFFFFF
##5274181.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#556E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #527418;
/* rgb */ color: rgb(82, 116, 24);
/* oklch */ color: oklch(51.5% 0.123 128.3);
Tailwind
colors: {
  custom: {
    50: '#869c5d',
    500: '#527418',
    950: '#000000',
  },
}
SCSS
$custom: #527418;
$custom-light: #869c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527418",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 82.174,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51456,
    "c": 0.12306,
    "h": 128.3
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

primary
#527418
secondary
#663FA9
accent
#3FE97E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527418

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

Preview Lab → · Contrast checker → · Palette generator →

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