#568F12#568F12

#568F12 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.158 H 132.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#568F12
RGBrgb(86, 143, 18)
HSLhsl(87, 78%, 32%)
HSVhsv(87, 87%, 56%)
CMYKcmyk(39.9%, 0%, 87.4%, 43.9%)
CIE-LABlab(53.67, -37.71, 53.48)
CIE-LCHlch(53.67, 65.44, 125.19°)
OKLaboklab(58.8% -0.1069 0.1165)
OKLCHoklch(58.8% 0.158 132.5)
XYZxyz(13.7692, 21.6664, 4.0287)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#568F12 #4B128F
analogous
#8F8A12 #568F12 #188F12
triadic
#568F12 #12568F #8F1256
tetradic
#568F12 #128F8A #4B128F #8F1218
square
#568F12 #128F8A #4B128F #8F1218
split-complementary
#568F12 #12188F #8A128F
monochromatic
#152204 #35590B #568F12 #77C519 #95E636

Accessibility & contrast

On white

3.94
#568F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#568F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #568F12
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##568F12#FFFFFF#000000##000000
##568F121.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#578979
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #568f12;
/* rgb */ color: rgb(86, 143, 18);
/* oklch */ color: oklch(58.8% 0.158 132.5);
Tailwind
colors: {
  custom: {
    50: '#8bb05f',
    500: '#568f12',
    950: '#000000',
  },
}
SCSS
$custom: #568f12;
$custom-light: #8bb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#568f12",
  "rgb": {
    "r": 86,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 87.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.15807,
    "h": 132.5
  },
  "luminance": 0.21667
}

Semantic roles & 50–950 ramp

primary
#568F12
secondary
#783AC3
accent
#34F48B
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0D1005
muted
#7D7F79

Preview Lab

Preview with #568F12

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

Preview Lab → · Contrast checker → · Palette generator →

#568F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva