#568018#568018

#568018 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.9% C 0.137 H 129.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#568018
RGBrgb(86, 128, 24)
HSLhsl(84, 68%, 30%)
HSVhsv(84, 81%, 50%)
CMYKcmyk(32.8%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.86, -30.70, 47.52)
CIE-LCHlch(48.86, 56.57, 122.87°)
OKLaboklab(54.88% -0.0876 0.1048)
OKLCHoklch(54.88% 0.137 129.9)
XYZxyz(11.7217, 17.4823, 3.6208)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#568018 #421880
analogous
#807618 #568018 #228018
triadic
#568018 #185680 #801856
tetradic
#568018 #188076 #421880 #801822
square
#568018 #188076 #421880 #801822
split-complementary
#568018 #182280 #761880
monochromatic
#111A05 #334C0E #568018 #79B422 #99DA39

Accessibility & contrast

On white

4.67
#568018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#568018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #568018
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##568018#FFFFFF#000000##FFFFFF
##5680181.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#587A6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #568018;
/* rgb */ color: rgb(86, 128, 24);
/* oklch */ color: oklch(54.9% 0.137 129.9);
Tailwind
colors: {
  custom: {
    50: '#8aa55f',
    500: '#568018',
    950: '#000000',
  },
}
SCSS
$custom: #568018;
$custom-light: #8aa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#568018",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 84.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.13662,
    "h": 129.9
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#568018
secondary
#6F40B4
accent
#3DEB83
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #568018

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

Preview Lab → · Contrast checker → · Palette generator →

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