#567F12#567F12

#567F12 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.138 H 129.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#567F12
RGBrgb(86, 127, 18)
HSLhsl(83, 75%, 28%)
HSVhsv(83, 86%, 50%)
CMYKcmyk(32.3%, 0%, 85.8%, 50.2%)
CIE-LABlab(48.51, -30.51, 48.97)
CIE-LCHlch(48.51, 57.70, 121.92°)
OKLaboklab(54.59% -0.0875 0.1069)
OKLCHoklch(54.59% 0.138 129.3)
XYZxyz(11.5363, 17.2005, 3.2844)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#567F12 #3B127F
analogous
#7F7112 #567F12 #1F7F12
triadic
#567F12 #12567F #7F1256
tetradic
#567F12 #127F71 #3B127F #7F121F
square
#567F12 #127F71 #3B127F #7F121F
split-complementary
#567F12 #121F7F #71127F
monochromatic
#121B04 #32490A #567F12 #7AB51A #9CE12B

Accessibility & contrast

On white

4.73
#567F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#567F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #567F12
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##567F12#FFFFFF#000000##FFFFFF
##567F121.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#59796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #567f12;
/* rgb */ color: rgb(86, 127, 18);
/* oklch */ color: oklch(54.6% 0.138 129.3);
Tailwind
colors: {
  custom: {
    50: '#8aa45c',
    500: '#567f12',
    950: '#000000',
  },
}
SCSS
$custom: #567f12;
$custom-light: #8aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#567f12",
  "rgb": {
    "r": 86,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 82.569,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.13815,
    "h": 129.3
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#567F12
secondary
#6738B5
accent
#36F27D
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #567F12

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

Preview Lab → · Contrast checker → · Palette generator →

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